nova/nova/tests/functional/api/openstack/placement
He Jie Xu 8a307bbdf4 placement: support traits in allocation candidates API
This patch add new query parameter `required` to the
`GET /allocation_candidates` API, which is used to filter candidates
with required traits.  The candidate attached traits return in the
provider summary also. Those API changes are added by new microversion.

Also using specific exception TraitNotFound instead of the generic
exception ValueError when invalid traits in the request.

Change-Id: Id821b5b2768dcc698695ba6570c6201e1e9a8233
Implement blueprint add-trait-support-in-allocation-candidates
2018-01-22 22:10:10 +08:00
..
gabbits placement: support traits in allocation candidates API 2018-01-22 22:10:10 +08:00
__init__.py Add initial framing of placement API 2016-07-29 10:31:36 +00:00
fixtures.py placement: support traits in allocation candidates API 2018-01-22 22:10:10 +08:00
test_placement_api.py Merge "[placement] ensure that allow headers are native strings" 2016-10-07 12:09:26 +00:00
test_report_client.py Merge "[placement] Add sending global request ID in delete (2)" 2018-01-17 06:59:39 +00:00