ceilometer.tests.unit.hardware.inspector.test_snmp
Module¶Tests for ceilometer/hardware/inspector/snmp/inspector.py
ceilometer.tests.unit.hardware.inspector.test_snmp.
FakeCommandGenerator
[source]¶Bases: object
ceilometer.tests.unit.hardware.inspector.test_snmp.
FakeObjectName
(name)[source]¶Bases: object
ceilometer.tests.unit.hardware.inspector.test_snmp.
TestSNMPInspector
(*args, **kwds)[source]¶Bases: ceilometer.tests.base.BaseTestCase
mapping
= {'test_nosuch': {'post_op': None, 'metadata': {}, 'matching_type': 'type_exact', 'metric_oid': ('1.3.6.1.4.1.2021.4.14.0', <type 'int'>)}, 'test_exact': {'post_op': '_fake_post_op', 'metadata': {'meta': ('1.3.6.1.4.1.2021.10.1.3.8', <type 'int'>)}, 'matching_type': 'type_exact', 'metric_oid': ('1.3.6.1.4.1.2021.10.1.3.1', <type 'int'>)}, 'test_prefix': {'post_op': None, 'metadata': {'meta': ('1.3.6.1.4.1.2021.9.1.3', <type 'int'>)}, 'matching_type': 'type_prefix', 'metric_oid': ('1.3.6.1.4.1.2021.9.1.8', <type 'int'>)}}¶Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.