compute-hyperv/compute_hyperv/tests/unit
AlexMuresan dda87c567e Raise proper exception in case of vif plug errors
The Nova Compute manager expects a VirtualInterfacePlugException
exception to be raised when a vif plug fails.

This particularly affects the service initialization step. If we're
raising an exception other than the above mentioned one, the exception
won't be cought, in which case the Nova Compute service will stop.

This change ensures that we're raising the expected exception if vif
plugging fails.

(cherry picked from commit 6adc5cf4d4)

Change-Id: Ibaa405577d4fa06f27fdd9440aca49be0c620af5
Closes-bug: #1736392
2018-04-03 13:53:06 +03:00
..
cluster Merge "Ensure that vif ports are unplugged during failover migration" 2017-08-11 13:21:17 +00:00
__init__.py move to compute_hyperv namespace 2017-08-09 09:00:32 +00:00
test_base.py move to compute_hyperv namespace 2017-08-09 09:00:32 +00:00
test_block_device_manager.py move to compute_hyperv namespace 2017-08-09 09:00:32 +00:00
test_driver.py move to compute_hyperv namespace 2017-08-09 09:00:32 +00:00
test_eventhandler.py Ignore external VMs when handling serial console output 2017-08-09 13:37:04 +03:00
test_hostops.py hyperv: report disk_available_least field 2017-09-19 13:34:07 +00:00
test_imagecache.py move to compute_hyperv namespace 2017-08-09 09:00:32 +00:00
test_livemigrationops.py move to compute_hyperv namespace 2017-08-09 09:00:32 +00:00
test_migrationops.py Merge "Fixes cold migration path trimming issue" into stable/pike 2017-09-15 10:24:35 +00:00
test_pathutils.py move to compute_hyperv namespace 2017-08-09 09:00:32 +00:00
test_pdk.py move to compute_hyperv namespace 2017-08-09 09:00:32 +00:00
test_rdpconsoleops.py move to compute_hyperv namespace 2017-08-09 09:00:32 +00:00
test_serialconsolehandler.py move to compute_hyperv namespace 2017-08-09 09:00:32 +00:00
test_serialconsoleops.py Ignore external VMs when handling serial console output 2017-08-09 13:37:04 +03:00
test_serialproxy.py move to compute_hyperv namespace 2017-08-09 09:00:32 +00:00
test_snapshotops.py move to compute_hyperv namespace 2017-08-09 09:00:32 +00:00
test_vif.py move to compute_hyperv namespace 2017-08-09 09:00:32 +00:00
test_vmops.py Raise proper exception in case of vif plug errors 2018-04-03 13:53:06 +03:00
test_volumeops.py Fixes wrong method call in volumeops 2017-08-29 11:04:49 +00:00