The nova.virt.hyperv.vmutils Module

Utility class for VM related operations.

exception HyperVException(message=None)

Bases: nova.exception.NovaException

class VMUtils

Bases: object

add_virt_resource(conn, res_setting_data, target_vm)

Add a new resource (disk/nic) to the VM

check_job_status(jobpath)

Poll WMI job state for completion

clone_wmi_obj(conn, wmi_class, wmi_obj)

Clone a WMI object

fetch_image(target, context, image_id, user, project, *args, **kwargs)
get_base_vhd_path(image_name)
get_vhd_path(instance_name)
lookup(conn, i)
make_export_path(instance_name)
remove_virt_resource(conn, res_setting_data, target_vm)

Add a new resource (disk/nic) to the VM

Previous topic

The nova.virt.hyperv.vmops Module

Next topic

The nova.virt.hyperv.volumeops Module

This Page