nova/nova/tests/unit/cells
Matt Riedemann 69336b024e Handle uuid in HostAPI.compute_node_get
This allows looking up a compute node by its uuid to uniquely
identify it in a list of cells. A later REST API microversion
change will rely on this.

Note that the existing compute_node_get method is used to
minimize the impact to cells v1 (we would have to plumb through
all new support to cells v1 if we added a new HostAPI method).

Since the HostMapping in the API DB does not have the
ComputeNode.uuid we still have to loop over the cells to
find a match. This could be optimized later if needed.

Part of blueprint service-hyper-uuid-in-api

Change-Id: I705119442552e3d507e8d514218466942c5767f5
2017-06-19 09:57:49 -04:00
..
__init__.py move all tests to nova/tests/unit 2014-11-12 15:31:08 -05:00
fakes.py conf: remove deprecated cells driver option 2016-11-17 18:58:47 +00:00
test_cells_filters.py Stop using mox stubs in nova/tests/unit/cells 2016-12-26 13:31:24 +00:00
test_cells_manager.py Fix migration list + MigrationList operation 2016-08-15 10:05:23 -04:00
test_cells_messaging.py Handle uuid in HostAPI.compute_node_get 2017-06-19 09:57:49 -04:00
test_cells_rpc_driver.py Merge "Replace messaging.get_transport with get_rpc_transport" 2017-06-07 00:59:35 +00:00
test_cells_rpcapi.py Handle uuid in HostAPI.compute_node_get 2017-06-19 09:57:49 -04:00
test_cells_scheduler.py Stop using mox stubs in nova/tests/unit/cells 2016-12-26 13:31:24 +00:00
test_cells_state_manager.py Remove straggling use of main db flavors in cellsv1 code 2017-02-10 11:59:13 -08:00
test_cells_utils.py Stop using mox stubs in nova/tests/unit/cells 2016-12-26 13:31:24 +00:00
test_cells_weights.py Use assertGreater(A, X) instead of assertTrue(A > X) 2016-06-03 16:53:12 +01:00