nova/nova/tests/unit
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
..
accelerator Delete ARQs for an instance when the instance is deleted. 2020-03-24 22:44:18 -07:00
api Merge "api: Add microversion for extra spec validation" 2020-04-10 05:22:03 +00:00
cmd Merge "Support for nova-manage placement heal_allocations --cell" 2020-04-03 15:13:00 +00:00
compute Pass allocations to virt drivers when resizing 2020-04-10 12:49:16 +02:00
conductor Merge "Support live migration with vpmem" 2020-04-08 17:04:01 +00:00
conf Support different vGPU types per pGPU 2020-04-09 17:54:26 +02:00
console Merge "Allow TLS ciphers/protocols to be configurable for console proxies" 2020-02-24 17:27:02 +00:00
db Temporarily skip TestNovaMigrationsMySQL 2020-04-09 11:25:24 +02:00
fake_loadables
image Improve error log when snapshot fails 2019-11-06 22:54:05 +00:00
keymgr
network Merge "nova-net: Remove unused parameters" 2020-03-26 21:46:16 +00:00
notifications Remove 'nova.image.api' module 2020-02-18 11:45:39 +00:00
objects Store instance action event exc_val fault details 2020-03-21 06:08:34 +00:00
pci support pci numa affinity policies in flavor and image 2019-12-11 14:39:12 +00:00
policies Merge "Add new default roles in os-console-auth-tokens policies" 2020-04-10 05:21:27 +00:00
privsep nova-net: Kill it 2020-01-14 21:25:56 +00:00
scheduler Enable and use COMPUTE_ACCELERATORS trait. 2020-03-27 22:42:37 -07:00
servicegroup Handle ServiceNotFound in DbDriver._report_state 2019-12-04 09:50:17 -05:00
ssl_cert
virt Pass allocations to virt drivers when resizing 2020-04-10 12:49:16 +02:00
volume Fix exception translation when creating volume 2019-10-10 02:38:33 +00:00
__init__.py
cast_as_call.py
conf_fixture.py Support different vGPU types per pGPU 2020-04-09 17:54:26 +02:00
fake_block_device.py
fake_build_request.py
fake_console_auth_token.py
fake_crypto.py
fake_diagnostics.py
fake_flavor.py
fake_hosts.py
fake_instance.py partial support for live migration with specific resources 2020-04-07 13:12:53 +00:00
fake_ldap.py
fake_network.py nova-net: Kill it 2020-01-14 21:25:56 +00:00
fake_network_cache_model.py
fake_notifier.py
fake_pci_device_pools.py
fake_policy.py Add new default roles in os-console-auth-tokens policies 2020-04-08 23:23:50 -05:00
fake_processutils.py
fake_request_spec.py
fake_requests.py
fake_server_actions.py Store instance action event exc_val fault details 2020-03-21 06:08:34 +00:00
fake_volume.py
image_fixtures.py
matchers.py
policy_fixture.py Fix the suppress of policy deprecation warnings 2020-01-07 17:58:09 +00:00
test_api_validation.py Don't hardcode Python versions in test 2019-12-12 15:16:21 +00:00
test_availability_zones.py trivial: Fetch 'Service' objects once when building AZs 2020-02-05 21:26:23 +00:00
test_baserpc.py
test_block_device.py
test_cache.py
test_cinder.py
test_conf.py test cleanup: Make base TestCase subclass oslotest 2019-11-22 22:38:22 +00:00
test_configdrive2.py
test_context.py Revert "Log CellTimeout traceback in scatter_gather_cells" 2019-10-22 17:12:28 -04:00
test_crypto.py
test_exception.py
test_fake_notifier.py
test_fixtures.py nova-net: Remove layer of indirection in 'nova.network' 2020-01-15 14:57:49 +00:00
test_flavors.py
test_hacking.py nova-net: Remove firewall support (pt. 3) 2020-01-08 13:53:00 +00:00
test_hooks.py
test_identity.py
test_instance_types_extra_specs.py
test_json_ref.py Tests: autospecs all the mock.patch usages 2019-08-19 09:43:10 -05:00
test_loadables.py
test_matchers.py
test_metadata.py Support large network queries towards neutron 2020-02-16 23:38:48 -08:00
test_notifications.py nova-net: Remove dependency on nova-net from fake cache 2020-01-08 13:54:12 +00:00
test_notifier.py
test_policy.py Merge "Add new default roles in server password policies" 2020-04-09 02:34:52 +00:00
test_profiler.py Remove 'nova.image.api' module 2020-02-18 11:45:39 +00:00
test_quota.py nova-net: Convert remaining unit tests to neutron 2019-12-16 09:58:42 +00:00
test_rpc.py
test_safeutils.py
test_service.py nova-net: Remove final references to nova-network 2020-01-08 13:54:12 +00:00
test_service_auth.py
test_test.py Move selective patching of open() to nova.test for reuse 2019-05-25 02:49:40 +00:00
test_test_utils.py
test_utils.py trivial: Remove 'run_once' helper 2020-02-06 15:49:07 +00:00
test_versions.py Move selective patching of open() to nova.test for reuse 2019-05-25 02:49:40 +00:00
test_weights.py
test_wsgi.py
utils.py nova-net: Kill it 2020-01-14 21:25:56 +00:00