The nova.virt.hyperv.hostops Module

Management class for host operations.

class HostOps

Bases: object

get_available_resource()

Retrieve resource info.

This method is called when nova-compute launches, and as part of a periodic task.

Returns:dictionary describing resources
get_host_ip_addr()
get_host_stats(refresh=False)

Return the current state of the host. If ‘refresh’ is True, run the update first.

host_power_action(host, action)

Reboots, shuts down or powers up the host.

Previous topic

The nova.virt.hyperv.driver Module

Next topic

The nova.virt.hyperv.hostutils Module

This Page