The ceilometer.tests.unit.compute.pollsters.test_diskio Module

The ceilometer.tests.unit.compute.pollsters.test_diskio Module

class ceilometer.tests.unit.compute.pollsters.test_diskio.TestBaseDiskIO(*args, **kwds)[source]

Bases: ceilometer.tests.unit.compute.pollsters.base.TestPollsterBase

TYPE = 'cumulative'
setUp()[source]
class ceilometer.tests.unit.compute.pollsters.test_diskio.TestDiskIOPSPollsters(*args, **kwds)[source]

Bases: ceilometer.tests.unit.compute.pollsters.test_diskio.TestBaseDiskIO

DISKS = [DiskIOPSStats(device='disk1', iops_count=10), DiskIOPSStats(device='disk2', iops_count=20)]
TYPE = 'gauge'
setUp()[source]
test_disk_iops()[source]
test_per_device_iops()[source]
class ceilometer.tests.unit.compute.pollsters.test_diskio.TestDiskInfoPollsters(*args, **kwds)[source]

Bases: ceilometer.tests.unit.compute.pollsters.test_diskio.TestBaseDiskIO

DISKS = [DiskInfo(device='vda1', capacity=3, allocation=2, physical=1), DiskInfo(device='vda2', capacity=4, allocation=3, physical=2)]
TYPE = 'gauge'
setUp()[source]
test_disk_allocation()[source]
test_disk_capacity()[source]
test_disk_physical()[source]
test_per_disk_allocation()[source]
test_per_disk_capacity()[source]
test_per_disk_physical()[source]
class ceilometer.tests.unit.compute.pollsters.test_diskio.TestDiskLatencyPollsters(*args, **kwds)[source]

Bases: ceilometer.tests.unit.compute.pollsters.test_diskio.TestBaseDiskIO

DISKS = [DiskLatencyStats(device='disk1', disk_latency=1), DiskLatencyStats(device='disk2', disk_latency=2)]
TYPE = 'gauge'
setUp()[source]
test_disk_latency()[source]
test_per_device_latency()[source]
class ceilometer.tests.unit.compute.pollsters.test_diskio.TestDiskPollsters(*args, **kwds)[source]

Bases: ceilometer.tests.unit.compute.pollsters.test_diskio.TestBaseDiskIO

DISKS = [DiskStats(device='vda1', read_bytes=1, read_requests=2, write_bytes=3, write_requests=4, errors=-1, wr_total_times=200, rd_total_times=100), DiskStats(device='vda2', read_bytes=2, read_requests=3, write_bytes=5, write_requests=7, errors=-1, wr_total_times=400, rd_total_times=300)]
setUp()[source]
test_disk_read_bytes()[source]
test_disk_read_requests()[source]
test_disk_write_bytes()[source]
test_disk_write_requests()[source]
test_per_device_read_latency()[source]
test_per_device_write_latency()[source]
test_per_disk_read_bytes()[source]
test_per_disk_read_requests()[source]
test_per_disk_write_bytes()[source]
test_per_disk_write_requests()[source]
class ceilometer.tests.unit.compute.pollsters.test_diskio.TestDiskRatePollsters(*args, **kwds)[source]

Bases: ceilometer.tests.unit.compute.pollsters.test_diskio.TestBaseDiskIO

DISKS = [DiskRateStats(device='disk1', read_bytes_rate=1024, read_requests_rate=300, write_bytes_rate=5120, write_requests_rate=700), DiskRateStats(device='disk2', read_bytes_rate=2048, read_requests_rate=400, write_bytes_rate=6144, write_requests_rate=800)]
TYPE = 'gauge'
setUp()[source]
test_disk_read_bytes_rate()[source]
test_disk_read_requests_rate()[source]
test_disk_write_bytes_rate()[source]
test_disk_write_requests_rate()[source]
test_per_disk_read_bytes_rate()[source]
test_per_disk_read_requests_rate()[source]
test_per_disk_write_bytes_rate()[source]
test_per_disk_write_requests_rate()[source]
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.