The nova.virt.diagnostics Module

class CpuDiagnostics(time=0)

Bases: object

class Diagnostics(state=None, driver=None, hypervisor_os=None, uptime=0, cpu_details=None, nic_details=None, disk_details=None, config_drive=False)

Bases: object

add_cpu(time=0)
add_disk(id='', read_bytes=0, read_requests=0, write_bytes=0, write_requests=0, errors_count=0)
add_nic(mac_address='00:00:00:00:00:00', rx_octets=0, rx_errors=0, rx_drop=0, rx_packets=0, tx_octets=0, tx_errors=0, tx_drop=0, tx_packets=0)
serialize()
version = '1.0'
class DiskDiagnostics(id='', read_bytes=0, read_requests=0, write_bytes=0, write_requests=0, errors_count=0)

Bases: object

class MemoryDiagnostics(maximum=0, used=0)

Bases: object

class NicDiagnostics(mac_address='00:00:00:00:00:00', rx_octets=0, rx_errors=0, rx_drop=0, rx_packets=0, tx_octets=0, tx_errors=0, tx_drop=0, tx_packets=0)

Bases: object

Previous topic

The nova.virt.configdrive Module

Next topic

The nova.virt.disk.api Module

Project Source

This Page