The ceilometer.compute.virt.vmware.inspector Module

The ceilometer.compute.virt.vmware.inspector Module

Implementation of Inspector abstraction for VMware vSphere

class ceilometer.compute.virt.vmware.inspector.VsphereInspector(conf)[source]

Bases: ceilometer.compute.virt.inspector.Inspector

inspect_disk_rates(instance, duration)[source]

Inspect the disk statistics as rates for an instance.

Parameters:
  • instance – the target instance
  • duration – the last ‘n’ seconds, over which the value should be inspected
Returns:

for each disk, the number of bytes & operations read and written per second, with the error count

inspect_instance(instance, duration)[source]

Inspect the CPU statistics for an instance.

Parameters:
  • instance – the target instance
  • duration – the last ‘n’ seconds, over which the value should be inspected
Returns:

the instance stats

inspect_vnic_rates(instance, duration)[source]

Inspect the vNIC rate statistics for an instance.

Parameters:
  • instance – the target instance
  • duration – the last ‘n’ seconds, over which the value should be inspected
Returns:

for each vNIC, the rate of bytes & packets received and transmitted

ceilometer.compute.virt.vmware.inspector.get_api_session(conf)[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.