nova/nova/scheduler/client
Sylvain Bauza 40781fbae5 Modify Scheduler RPC API to use RequestSpec obj
Since we now have a RequestSpec object, we can directly provide it thru
the RPC API select_destinations(). Since the conductor also uses the
RequestSpec object, we just need to have a RPC compatibility check to
see whether we can directly send the object or backport it to dicts if
the scheduler is old.

Note: As mox was in use for the RPC API tests, I replaced it by mock
for cleaning up the test helper method.

Implements blueprint request-spec-object-mitaka

Change-Id: Ifd3289bf9eccab7e47cd00055b716abb8e6eb965
2016-01-06 00:02:22 +01:00
..
__init__.py Modify conductor to use RequestSpec object 2015-12-31 09:36:58 +00:00
query.py Modify Scheduler RPC API to use RequestSpec obj 2016-01-06 00:02:22 +01:00
report.py Convert RT compute_node to be a ComputeNode object 2015-07-02 07:45:40 +01:00