diff --git a/pylib/aeon/cumulus/device.py b/pylib/aeon/cumulus/device.py index 76ea9a5..9e378ca 100644 --- a/pylib/aeon/cumulus/device.py +++ b/pylib/aeon/cumulus/device.py @@ -91,5 +91,5 @@ def gather_facts(self): facts['serial_number'] = decoded['Serial Number'] facts['hw_model'] = decoded['Product Name'] facts['hw_part_number'] = decoded['Part Number'] - facts['hw_version'] = decoded['Label Revision'] - facts['service_tag'] = decoded['Service Tag'] + facts['hw_version'] = decoded.get('Label Revision', 'no-hw-version') + facts['service_tag'] = decoded.get('Service Tag', 'no-service-tag') diff --git a/setup.py b/setup.py index c4aec06..2ecd22e 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ setup( name="aeon-venos", namespace_packages=['aeon'], - version="0.2.0", + version="0.3.0", author="Jeremy Schulman", author_email="jeremy@apstra.com", description=("Aeon vendor NOS driver library"),