nova/nova/tests/unit/compute
zhangbailin 7fbd787b1b Cyborg shelve/unshelve support
This change extends the conductor manager to append the cyborg
resource request to the request spec when performing an unshelve.

On shelve offload an instance will be deleted the instance's ARQs
binding info to free up the bound ARQs in Cyborg service.
And this change passes the ARQs to spawn during unshelve an instance.

This change extends the ``shelve_instance``, ``shelve_offload_instance``
and ``unshelve_instance`` rpcapi function to carry the arq_uuids.

Co-Authored-By: Wenping Song <songwenping@inspur.com>

Implements: blueprint cyborg-shelve-and-unshelve
Change-Id: I258df4d77f6d86df1d867a8fe27360731c21d237
2021-01-15 03:21:17 +00:00
..
monitors Do not log a warning about not using compute monitors 2019-04-04 14:32:53 -04:00
provider_config_data Provider Config File: Coding style and test cases improvement 2020-09-01 01:05:34 +00: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_api.py Cyborg shelve/unshelve support 2021-01-15 03:21:17 +00:00
test_claims.py objects: Introduce 'pcpuset' field for InstanceNUMACell 2020-07-14 00:38:34 +08:00
test_compute.py Remove six.text_type (2/2) 2020-12-13 11:26:35 +00:00
test_compute_mgr.py Remove six.text_type (2/2) 2020-12-13 11:26:35 +00:00
test_compute_utils.py Remove six.text_type (2/2) 2020-12-13 11:26:35 +00:00
test_flavors.py
test_host_api.py Fix aggregate placement sync issue 2020-05-08 02:40:47 +10:00
test_instance_list.py Remove six.text_type (2/2) 2020-12-13 11:26:35 +00:00
test_keypairs.py Remove six.text_type (2/2) 2020-12-13 11:26:35 +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_config.py Provider Config File: Coding style and test cases improvement 2020-09-01 01:05:34 +00:00
test_provider_tree.py Add resources dict into _Provider 2019-09-13 08:50:35 +00:00
test_resource_tracker.py Merge "virt: Remove 'get_per_instance_usage' API" 2020-11-09 18:50:31 +00:00
test_rpcapi.py Cyborg shelve/unshelve support 2021-01-15 03:21:17 +00:00
test_shelve.py Cyborg shelve/unshelve support 2021-01-15 03:21:17 +00:00
test_stats.py Use uuidsentinel from oslo.utils 2018-09-05 09:08:54 -05:00
test_virtapi.py Reduce gen conflict in COMPUTE_STATUS_DISABLED handling 2020-07-10 17:38:13 +02:00