368b6d9293
Adds a new placement API microversion that supports specifying multiple member_of parameters to the GET /resource_providers and GET /allocation_candidates API endpoints. When multiple member_of parameters are found, they are passed down to the ResourceProviderList.get_by_filters() method as a list. Items in this list are lists of aggregate UUIDs. The list of member_of items is evaluated so that resource providers matching ALL of the member_of constraints are returned. When a member_of item contains multiple UUIDs, we look up resource providers that have *any* of those aggregate UUIDs associated with them. Change-Id: Ib4f1955f06f2159dfb221f3d2bc8ff7bfce71ee2 blueprint: alloc-candidates-member-of |
||
---|---|---|
.. | ||
samples | ||
aggregates.inc | ||
allocation_candidates.inc | ||
allocations.inc | ||
conf.py | ||
index.rst | ||
inventories.inc | ||
inventory.inc | ||
parameters.yaml | ||
request-ids.inc | ||
resource_class.inc | ||
resource_classes.inc | ||
resource_provider_allocations.inc | ||
resource_provider_traits.inc | ||
resource_provider_usages.inc | ||
resource_provider.inc | ||
resource_providers.inc | ||
root.inc | ||
traits.inc | ||
usages.inc |