nova/placement-api-ref/source
Chris Dent 4e07d81260 [placement] Support forbidden traits in API
In a new microversion (1.22) expose support for processing
forbidden traits in GET /resource_providers and GET
/allocation_candidates. A forbidden trait is expressed as
part of the required parameter with a "!" prefix:

    required=CUSTOM_FAST,!CUSTOM_SLOW

This change uses db and query processing code adjustments
already present in the code but guarded by a flag. If the
currently requested microversion matches 1.22 or beyond
that flag is True, otherwise False.

Reno, api-ref update and api history update are included.
Because this microversion changes the value of an existing
parameter it was unclear how to best express that in the
api-ref. In this case existing parameter references were
annotated.

Partially implements blueprint placement-forbidden-traits

Change-Id: I43e92bc5f97db7a2b09e64c6cb953c07d0561e63
2018-04-13 19:24:08 +01:00
..
samples placement: Return new provider from POST /rps 2018-03-14 17:08:55 -05:00
aggregates.inc placement: generation in provider aggregate APIs 2018-03-14 17:08:52 -05:00
allocation_candidates.inc Add 'member_of' param to GET /allocation_candidates 2018-03-16 16:32:02 +00:00
allocations.inc [placement] Move body examples to an isolated directory 2018-02-08 21:59:19 +00:00
conf.py Remove unnecessary code encoding specification 2018-03-30 19:26:56 +00:00
index.rst Fix OpenStack capitalization 2018-01-07 12:38:39 +01:00
inventories.inc [placement] Move body examples to an isolated directory 2018-02-08 21:59:19 +00:00
inventory.inc [placement] Move body examples to an isolated directory 2018-02-08 21:59:19 +00:00
parameters.yaml [placement] Support forbidden traits in API 2018-04-13 19:24:08 +01:00
request-ids.inc [placement] Add x-openstack-request-id in API ref 2017-12-18 06:02:44 +00:00
resource_class.inc [placement] Move body examples to an isolated directory 2018-02-08 21:59:19 +00:00
resource_classes.inc [placement] Move body examples to an isolated directory 2018-02-08 21:59:19 +00:00
resource_provider.inc placement: Return new provider from POST /rps 2018-03-14 17:08:55 -05:00
resource_provider_allocations.inc [placement] Move body examples to an isolated directory 2018-02-08 21:59:19 +00:00
resource_provider_traits.inc [placement] Move body examples to an isolated directory 2018-02-08 21:59:19 +00:00
resource_provider_usages.inc [placement] Move body examples to an isolated directory 2018-02-08 21:59:19 +00:00
resource_providers.inc [placement] api-ref: Fix parameters 2018-04-03 17:05:42 +09:00
root.inc [placement] Move body examples to an isolated directory 2018-02-08 21:59:19 +00:00
traits.inc [placement] Move body examples to an isolated directory 2018-02-08 21:59:19 +00:00
usages.inc [placement] Move body examples to an isolated directory 2018-02-08 21:59:19 +00:00