Test suite for the Hyper-V driver and related APIs.
-
class HyperVAPITestCase(test_case_name)
Bases: nova.test.TestCase
Unit tests for Hyper-V driver calls.
-
setUp()
-
tearDown()
-
test_attach_volume()
-
test_boot_from_volume()
-
test_confirm_migration()
-
test_destroy()
-
test_detach_volume()
-
test_finish_migration()
-
test_finish_revert_migration()
-
test_get_available_resource()
-
test_get_host_stats()
-
test_get_info()
-
test_list_instances()
-
test_live_migration_unsupported_os()
-
test_live_migration_with_target_failure()
-
test_live_migration_with_volumes()
-
test_live_migration_without_volumes()
-
test_migrate_disk_and_power_off()
-
test_migrate_disk_and_power_off_exception()
-
test_migrate_disk_and_power_off_same_host()
-
test_pause()
-
test_pause_already_paused()
-
test_power_off()
-
test_power_off_already_powered_off()
-
test_power_on()
-
test_power_on_already_running()
-
test_pre_live_migration_cow_image()
-
test_pre_live_migration_no_cow_image()
-
test_pre_live_migration_with_volumes()
-
test_reboot()
-
test_resume()
-
test_resume_already_running()
-
test_snapshot()
-
test_snapshot_with_update_failure()
-
test_spawn_config_drive()
-
test_spawn_config_drive_cdrom()
-
test_spawn_cow_image()
-
test_spawn_no_config_drive()
-
test_spawn_no_cow_image()
-
test_spawn_nova_net_vif()
-
test_spawn_nova_net_vif_no_vswitch_exception()
-
test_suspend()
-
test_suspend_already_suspended()
-
test_unpause()
-
test_unpause_already_running()
-
test_volumeutils_version_hyperv_2008R2()
-
test_volumeutils_version_hyperv_2012()
-
test_volumeutils_version_hyperv_2012_force_v1()