The nova.virt.hyperv.driver
Module¶
A Hyper-V Nova Compute driver.
-
class
HyperVDriver
(*args, **kwargs)¶ Bases:
nova.virt.driver.ComputeDriver
-
attach_interface
(*args, **kwargs)¶
-
attach_volume
(*args, **kwargs)¶
-
capabilities
= {'supports_recreate': False, 'has_imagecache': False, 'supports_migrate_to_same_host': True}¶
-
check_can_live_migrate_destination
(*args, **kwargs)¶
-
check_can_live_migrate_destination_cleanup
(*args, **kwargs)¶
-
check_can_live_migrate_source
(*args, **kwargs)¶
-
cleanup
(*args, **kwargs)¶ Cleanup after instance being destroyed by Hypervisor.
-
confirm_migration
(*args, **kwargs)¶
-
destroy
(*args, **kwargs)¶
-
detach_interface
(*args, **kwargs)¶
-
detach_volume
(*args, **kwargs)¶
-
ensure_filtering_rules_for_instance
(*args, **kwargs)¶
-
finish_migration
(*args, **kwargs)¶
-
finish_revert_migration
(*args, **kwargs)¶
-
get_available_nodes
(*args, **kwargs)¶
-
get_available_resource
(*args, **kwargs)¶
-
get_console_output
(*args, **kwargs)¶
-
get_host_ip_addr
(*args, **kwargs)¶
-
get_host_uptime
(*args, **kwargs)¶
-
get_info
(*args, **kwargs)¶
-
get_instance_disk_info
(*args, **kwargs)¶
-
get_rdp_console
(*args, **kwargs)¶
-
get_volume_connector
(*args, **kwargs)¶
-
host_power_action
(*args, **kwargs)¶
-
init_host
(*args, **kwargs)¶
-
list_instance_uuids
(*args, **kwargs)¶
-
list_instances
(*args, **kwargs)¶
-
live_migration
(*args, **kwargs)¶
-
migrate_disk_and_power_off
(*args, **kwargs)¶
-
pause
(*args, **kwargs)¶
-
plug_vifs
(*args, **kwargs)¶ Plug VIFs into networks.
-
post_live_migration
(*args, **kwargs)¶
-
post_live_migration_at_destination
(*args, **kwargs)¶
-
power_off
(*args, **kwargs)¶
-
power_on
(*args, **kwargs)¶
-
pre_live_migration
(*args, **kwargs)¶
-
reboot
(*args, **kwargs)¶
-
resume
(*args, **kwargs)¶
-
resume_state_on_host_boot
(*args, **kwargs)¶ Resume guest state when a host is booted.
-
rollback_live_migration_at_destination
(*args, **kwargs)¶
-
snapshot
(*args, **kwargs)¶
-
spawn
(*args, **kwargs)¶
-
suspend
(*args, **kwargs)¶
-
unfilter_instance
(*args, **kwargs)¶
-
unpause
(*args, **kwargs)¶
-
unplug_vifs
(*args, **kwargs)¶ Unplug VIFs from networks.
-
-
convert_exceptions
(function, exception_map)¶
-
decorate_all_methods
(decorator, *args, **kwargs)¶