compute-hyperv/compute_hyperv/tests/unit
Lucian Petrut 8326d2c43c Update device metadata when attaching disks/NICs
This change ensures that we're updating the instance device metadata
when attaching or detaching instance volumes or NICs.

Unlike the other Nova drivers, we're including all Cinder volumes
in the device metadata, not just the tagged ones. The reason is that
this allows Hyper-V guests to properly identify attached disk paths.

Note that the disk mountpoints (e.g. /dev/sdc) are ignored by the
Hyper-V driver. Also, we cannot override SCSI identifiers, unlike
the Libvirt driver, which will use volume IDs as SCSI IDs.

Closes-Bug: #1723431

Depends-On: I7a4c242c80b5b3562bf9513deb89071b5bb5bf28
Depends-On: I6f2c6ecf71d3254d64bc24574619c18184d3d055

Change-Id: I6853b1d167fe675435f3fb8f1fdb0cf0b63bed65
2017-10-27 12:44:26 +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 Update device metadata when attaching disks/NICs 2017-10-27 12:44:26 +03:00
test_driver.py Update device metadata when attaching disks/NICs 2017-10-27 12:44:26 +03: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 12:26:54 +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 migration: Updates the VM before VM disk checks 2017-09-13 10:06:44 +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 Update device metadata when attaching disks/NICs 2017-10-27 12:44:26 +03:00
test_volumeops.py Update device metadata when attaching disks/NICs 2017-10-27 12:44:26 +03:00