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

Tests for libvirt inspector.

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

Bases: oslotest.base.BaseTestCase

exception fakeLibvirtError[source]

Bases: exceptions.Exception

TestLibvirtInspection.setUp()[source]
TestLibvirtInspection.test_inspect_cpu_l3_cache()[source]
TestLibvirtInspection.test_inspect_cpus_stats()[source]
TestLibvirtInspection.test_inspect_cpus_stats_fallback_cpu_time()[source]
TestLibvirtInspection.test_inspect_cpus_with_domain_shutoff()[source]
TestLibvirtInspection.test_inspect_disk_info()[source]
TestLibvirtInspection.test_inspect_disk_info_network_type()[source]
TestLibvirtInspection.test_inspect_disk_info_without_source_element()[source]
TestLibvirtInspection.test_inspect_disks()[source]
TestLibvirtInspection.test_inspect_disks_with_domain_shutoff()[source]
TestLibvirtInspection.test_inspect_disks_without_source_element()[source]
TestLibvirtInspection.test_inspect_memory_bandwidth()[source]
TestLibvirtInspection.test_inspect_memory_usage()[source]
TestLibvirtInspection.test_inspect_memory_usage_with_domain_shutoff()[source]
TestLibvirtInspection.test_inspect_memory_usage_with_empty_stats()[source]
TestLibvirtInspection.test_inspect_perf_events()[source]
TestLibvirtInspection.test_inspect_perf_events_libvirt_less_than_2_3_0()[source]
TestLibvirtInspection.test_inspect_vnics()[source]
TestLibvirtInspection.test_inspect_vnics_with_domain_shutoff()[source]
class ceilometer.tests.unit.compute.virt.libvirt.test_inspector.TestLibvirtInspectionWithError(*args, **kwds)[source]

Bases: oslotest.base.BaseTestCase

exception fakeLibvirtError[source]

Bases: exceptions.Exception

TestLibvirtInspectionWithError.setUp()[source]
TestLibvirtInspectionWithError.test_inspect_unknown_error()[source]