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_uptime()

Returns the host uptime.

host_power_action(action)

Reboots, shuts down or powers up the host.

Previous topic

The nova.virt.hyperv.eventhandler Module

Next topic

The nova.virt.hyperv.imagecache Module

Project Source

This Page