placement/api-ref/source
Eric Fried b733786a0a Microversion 1.35: root_required
Microversion 1.35_ adds support for the ``root_required`` query
parameter to the ``GET /allocation_candidates`` API. It accepts a
comma-delimited list of trait names, each optionally prefixed with ``!``
to indicate a forbidden trait, in the same format as the ``required``
query parameter. This restricts allocation requests in the response to
only those whose (non-sharing) tree's root resource provider satisfies
the specified trait requirements.

This is to support use cases like, "Land my VM on a host that is capable
of multi-attach," or, "Reserve my Windows-licensed hosts for special
use."

Story: #2005575
Task: #33753
Change-Id: I76cad83248920fa71da122711f1f763c4ebdb1ba
2019-06-20 17:30:35 -05:00
..
samples Implement allocation candidate mappings 2019-06-12 21:19:14 +00:00
aggregates.inc Move the api-ref directories 2018-09-04 10:31:22 -05:00
allocation_candidates.inc Microversion 1.35: root_required 2019-06-20 17:30:35 -05:00
allocations.inc Implement allocation candidate mappings 2019-06-12 21:19:14 +00:00
conf.py Update docs bug links to storyboard 2019-03-11 20:54:24 +00:00
errors.inc Document API error codes 2018-12-17 13:16:58 +00:00
index.rst Document API error codes 2018-12-17 13:16:58 +00:00
inventories.inc Move the api-ref directories 2018-09-04 10:31:22 -05:00
inventory.inc Move the api-ref directories 2018-09-04 10:31:22 -05:00
parameters.yaml Microversion 1.35: root_required 2019-06-20 17:30:35 -05:00
request-ids.inc Move the api-ref directories 2018-09-04 10:31:22 -05:00
reshaper.inc Implement allocation candidate mappings 2019-06-12 21:19:14 +00:00
resource_class.inc Move the api-ref directories 2018-09-04 10:31:22 -05:00
resource_classes.inc Move the api-ref directories 2018-09-04 10:31:22 -05:00
resource_provider.inc Move the api-ref directories 2018-09-04 10:31:22 -05:00
resource_provider_allocations.inc Move the api-ref directories 2018-09-04 10:31:22 -05:00
resource_provider_traits.inc Move the api-ref directories 2018-09-04 10:31:22 -05:00
resource_provider_usages.inc Move the api-ref directories 2018-09-04 10:31:22 -05:00
resource_providers.inc Rename api-ref parameters 2019-04-02 13:51:43 +00:00
root.inc Correct link rest api history 2018-12-19 11:13:02 +00:00
traits.inc Move the api-ref directories 2018-09-04 10:31:22 -05:00
usages.inc Move the api-ref directories 2018-09-04 10:31:22 -05:00