nova/nova/tests/unit/compute
Sundar Nadathur c433b1df42 Bump compute rpcapi version and reduce Cyborg calls.
The _get_bound_arq_resources() in the compute manager [1] calls Cyborg
up to 3 times: once to get the accelerator request (ARQ) UUIDs for the
instance, and then once or twice to get all ARQs with completed bindings.

The first call can be eliminated by passing the ARQs from the conductor
to the compute manager as an additional parameter in
build_and_run_instance(). This requires a bump in compute rpcapi version.

[1] https://review.opendev.org/#/c/631244/54/nova/compute/manager.py@2652

Blueprint: nova-cyborg-interaction

Change-Id: I26395d57bd4ba55276b7514baa808f9888639e11
2020-03-31 00:24:00 -07: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 Merge "Enable start/stop of instances with accelerators." 2020-03-27 15:38:49 +00:00
test_compute_api.py Merge "Delete ARQs for an instance when the instance is deleted." 2020-03-27 12:10:02 +00:00
test_compute_mgr.py Bump compute rpcapi version and reduce Cyborg calls. 2020-03-31 00:24:00 -07: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 Ensures that COMPUTE_RESOURCE_SEMAPHORE usage is fair 2020-03-16 20:10:17 +01:00
test_rpcapi.py Bump compute rpcapi version and reduce Cyborg calls. 2020-03-31 00:24:00 -07:00
test_shelve.py Support unshelve with qos ports 2020-03-18 17:24:56 +01: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