placement/placement/schemas
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
..
__init__.py Move the placement code to the base 2018-09-04 10:31:23 -05:00
aggregate.py Move the placement code to the base 2018-09-04 10:31:23 -05:00
allocation.py Implement allocation candidate mappings 2019-06-12 21:19:14 +00:00
allocation_candidate.py Microversion 1.35: root_required 2019-06-20 17:30:35 -05:00
common.py Implement allocation candidate mappings 2019-06-12 21:19:14 +00:00
inventory.py Fix alpha-ordering of imports for pep8 2018-09-04 10:31:28 -05:00
reshaper.py Implement allocation candidate mappings 2019-06-12 21:19:14 +00:00
resource_class.py Remove the import pathing for the old structure 2018-09-04 10:31:24 -05:00
resource_provider.py Move the placement code to the base 2018-09-04 10:31:23 -05:00
trait.py Remove the import pathing for the old structure 2018-09-04 10:31:24 -05:00
usage.py Remove pep8 whitespace ignores 2019-03-05 18:18:30 -06:00