nova/nova/tests/unit/virt
Vladik Romanovsky 50355c4595 objects: adding a parent_addr field to the PciDevice object
The parent_addr field will help identify the relationship between
Physical and Virtual pci device functions.

This information was already available to the PciDevice objects and was
stored in extra_info['phys_function'] field, so we add code that will
migrate old data on the fly, for live upgrade scenarios where we still
have running older compute nodes alongside new ones.

We don't want to migrate, however, if there are still any API service
instances running that might access this info directly (without the help
of the conductor) but have not been upgraded yet.

Co-authored-by: Nikola Đipanov <ndipanov@redhat.com>
Partially implements blueprint sriov-physical-function-passthrough
Change-Id: I94e8ce2c2a3d1c9e8b4aa1b245076eba84f37f45
2016-01-11 11:18:13 +00:00
..
disk virt: allow for direct mounting of LocalBlockImages 2015-12-10 16:15:44 +00:00
hyperv Merge "hyperv: Drop JSON for supported_instances" 2015-12-18 16:34:53 +00:00
image virt: introduce model for describing local image metadata 2015-06-04 13:46:59 +01:00
ironic Merge "ironic: Drop JSON for supported_instances" 2015-12-18 16:40:20 +00:00
libvirt objects: adding a parent_addr field to the PciDevice object 2016-01-11 11:18:13 +00:00
vmwareapi Convert nova.tests.unit.image.fake.stub_out_image_service to use stub_out 2016-01-06 16:42:20 -08:00
xenapi Merge "XenAPI: Cope with more Cinder backends" 2016-01-09 04:20:16 +00:00
__init__.py move all tests to nova/tests/unit 2014-11-12 15:31:08 -05:00
test_block_device.py DriverBlockDevice must receive a BDM object, not a dict 2015-12-28 06:35:21 -08:00
test_configdrive.py force_config_drive: StrOpt -> BoolOpt 2015-11-11 19:59:22 +00:00
test_diagnostics.py move all tests to nova/tests/unit 2014-11-12 15:31:08 -05:00
test_driver.py move all tests to nova/tests/unit 2014-11-12 15:31:08 -05:00
test_events.py move all tests to nova/tests/unit 2014-11-12 15:31:08 -05:00
test_fake.py fake: fix public API signatures to match virt driver 2015-02-19 11:44:00 +00:00
test_hardware.py Fix CPU pinning for odd number of CPUs w hyperthreading 2015-12-15 09:16:36 +00:00
test_imagecache.py DriverBlockDevice must receive a BDM object, not a dict 2015-12-28 06:35:21 -08:00
test_images.py Enable W292 2015-01-10 21:45:08 +00:00
test_virt.py virt: allow for direct mounting of LocalBlockImages 2015-12-10 16:15:44 +00:00
test_virt_drivers.py Convert nova.tests.unit.image.fake.stub_out_image_service to use stub_out 2016-01-06 16:42:20 -08:00
test_volumeutils.py Switch to using os-brick 2015-07-27 10:47:22 -07:00