The ceilometer.tests.unit.compute.virt.libvirt.test_inspector Module

The ceilometer.tests.unit.compute.virt.libvirt.test_inspector Module

Tests for libvirt inspector.

exception ceilometer.tests.unit.compute.virt.libvirt.test_inspector.FakeLibvirtError[source]

Bases: exceptions.Exception

class ceilometer.tests.unit.compute.virt.libvirt.test_inspector.TestLibvirtInspection(*args, **kwds)[source]

Bases: oslotest.base.BaseTestCase

setUp()[source]
test_inspect_cpus_with_domain_shutoff()[source]
test_inspect_disk_info()[source]
test_inspect_disk_info_network_type()[source]
test_inspect_disk_info_without_source_element()[source]
test_inspect_disks()[source]
test_inspect_disks_with_domain_shutoff()[source]
test_inspect_disks_without_source_element()[source]
test_inspect_instance_stats()[source]
test_inspect_instance_stats_fallback_cpu_time()[source]
test_inspect_memory_usage_with_domain_shutoff()[source]
test_inspect_memory_with_empty_stats()[source]
test_inspect_perf_events_libvirt_less_than_2_3_0()[source]
test_inspect_vnics()[source]
test_inspect_vnics_with_domain_shutoff()[source]
class ceilometer.tests.unit.compute.virt.libvirt.test_inspector.TestLibvirtInspectionWithError(*args, **kwds)[source]

Bases: oslotest.base.BaseTestCase

setUp()[source]
test_inspect_unknown_error()[source]
class ceilometer.tests.unit.compute.virt.libvirt.test_inspector.VMInstance[source]

Bases: object

id = 'ff58e738-12f4-4c58-acde-77617b68da56'
name = 'instance-00000001'
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.