nova/nova/tests/unit/compute
Sylvain Bauza 580eedbe2d Pass allocations to virt drivers when resizing
Some features like vGPUs require to have allocations to be checked locally
by the virt driver but resize (and cold migrate) was not passing them.

This change just gives the allocations to the target node when the resize
is done by adding the allocations to the finish_migration() interface.

Related-Bug: #1778563
Change-Id: Ifd76289964d513e9544544e5787f5f8999589475
2020-04-10 12:49:16 +02:00
..
monitors Do not log a warning about not using compute monitors 2019-04-04 14:32:53 -04:00
__init__.py
eventlet_utils.py
fake_resource_tracker.py Tests: autospecs all the mock.patch usages 2019-08-19 09:43:10 -05:00
test_claims.py Rename Claims resources to compute_node 2019-09-23 13:45:03 -04:00
test_compute.py Pass allocations to virt drivers when resizing 2020-04-10 12:49:16 +02:00
test_compute_api.py Block unsupported instance operations with accelerators. 2020-03-31 00:24:00 -07:00
test_compute_mgr.py Merge "virt: Provide block_device_info during rescue" 2020-04-10 07:17:28 +00:00
test_compute_utils.py Delete ARQs for an instance when the instance is deleted. 2020-03-24 22:44:18 -07:00
test_compute_xen.py Remove mox in nova/tests/unit/virt/xenapi/stubs.py 2018-06-21 23:59:39 +00:00
test_flavors.py Make compute unit tests inherit from test.NoDBTestCase 2015-02-24 17:54:29 +02:00
test_host_api.py Merge "Remove service_uuids_online_data_migration" 2019-11-18 21:01:45 +00:00
test_instance_list.py Plumbing for ignoring list_records_by_skipping_down_cells 2019-02-08 16:28:28 -05:00
test_keypairs.py Use nova.db.api directly 2018-07-10 14:56:27 +00:00
test_multi_cell_list.py Refactor scatter-gather utility to return exception objects 2018-10-31 15:18:07 -04:00
test_provider_tree.py Add resources dict into _Provider 2019-09-13 08:50:35 +00:00
test_resource_tracker.py partial support for live migration with specific resources 2020-04-07 13:12:53 +00:00
test_rpcapi.py Bump compute rpcapi version and reduce Cyborg calls. 2020-03-31 00:24:00 -07:00
test_shelve.py Pass allocations to virt drivers when resizing 2020-04-10 12:49:16 +02:00
test_stats.py Use uuidsentinel from oslo.utils 2018-09-05 09:08:54 -05:00
test_virtapi.py Add a way to exit early from a wait_for_instance_event() 2019-12-02 07:00:26 -08:00