ceilometer.tests.unit.compute.pollsters.test_diskio
Module¶ceilometer.tests.unit.compute.pollsters.test_diskio.
TestBaseDiskIO
(*args, **kwds)[source]¶Bases: ceilometer.tests.unit.compute.pollsters.base.TestPollsterBase
TYPE
= 'cumulative'¶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'¶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'¶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'¶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)]¶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'¶Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.