The nova.virt.hyperv.driver Module

A Hyper-V Nova Compute driver.

class HyperVDriver(virtapi)

Bases: nova.virt.driver.ComputeDriver

attach_volume(connection_info, instance, mountpoint)
check_can_live_migrate_destination(ctxt, instance_ref, src_compute_info, dst_compute_info, block_migration=False, disk_over_commit=False)
check_can_live_migrate_destination_cleanup(ctxt, dest_check_data)
check_can_live_migrate_source(ctxt, instance_ref, dest_check_data)
confirm_migration(migration, instance, network_info)
destroy(instance, network_info, block_device_info=None, destroy_disks=True)
detach_volume(connection_info, instance, mountpoint)
ensure_filtering_rules_for_instance(instance_ref, network_info)
finish_migration(context, migration, instance, disk_info, network_info, image_meta, resize_instance=False, block_device_info=None)
finish_revert_migration(instance, network_info, block_device_info=None)
get_available_resource(nodename)
get_console_output(instance)
get_host_ip_addr()
get_host_stats(refresh=False)
get_info(instance)
get_volume_connector(instance)
host_power_action(host, action)
init_host(host)
legacy_nwinfo()
list_instances()
live_migration(context, instance_ref, dest, post_method, recover_method, block_migration=False, migrate_data=None)
migrate_disk_and_power_off(context, instance, dest, instance_type, network_info, block_device_info=None)
pause(instance)
plug_vifs(instance, network_info)
post_live_migration_at_destination(ctxt, instance_ref, network_info, block_migr=False, block_device_info=None)
power_off(instance)
power_on(context, instance, network_info, block_device_info=None)
pre_live_migration(context, instance, block_device_info, network_info, migrate_data=None)
reboot(context, instance, network_info, reboot_type, block_device_info=None, bad_volumes_callback=None)
resume(instance, network_info, block_device_info=None)
snapshot(context, instance, name, update_task_state)
spawn(context, instance, image_meta, injected_files, admin_password, network_info=None, block_device_info=None)
suspend(instance)
unfilter_instance(instance, network_info)
unpause(instance)
unplug_vifs(instance, network_info)

Previous topic

The nova.virt.hyperv.constants Module

Next topic

The nova.virt.hyperv.hostops Module

This Page