897ee270e0
A new 1.10 API microversion is added to return information that the scheduler can use to select a particular set of resource providers to claim resources for an instance. The GET /allocation_candidates endpoint takes a "resources" querystring parameter similar to the GET /resource_providers endpoint and returns a dict with two top-level elements: "allocation_requests" is a list of JSON objects that contain a serialized HTTP body that the scheduler may subsequently use in a call to PUT /allocations/{consumer_uuid} to claim resources against a related set of resource providers. "provider_summaries" is a JSON object, keyed by resource provider UUID, of JSON objects of inventory/capacity information that the scheduler can use to sort/weigh the results of the call when making its destination host decisions. Change-Id: I8dadb364746553d9495aa8bcffd0346ebc0b4baa blueprint: placement-allocation-requests |
||
---|---|---|
.. | ||
add-aggregate-type-extra-specs-affinity-filter-79a2d3ee152b8ecd.yaml | ||
aggregate-uuid-generation-1f029af7a9af519b.yaml | ||
aggregates-moved-to-api-database-e1bd30909aaf79d3.yaml | ||
delete-inventories-placement-api-13582910371308c4.yaml | ||
idempotent-put-resource-class-dc7a267c823b7995.yaml | ||
placement-allocation-candidates-1114a843755b93c4.yaml | ||
placement-api-endpoint-interface-set-29af8b9400ce7775.yaml | ||
placement-api-member-of-d8a08d0d0c5700d7.yaml | ||
placement-cors-c7a83e8c63787736.yaml | ||
placement-rest-api-filter-providers-by-resources-0ab51c9766fe654f.yaml | ||
placement-rest-custom-resource-classes-a3f2175772983b0a.yaml | ||
placement-traits-api-efa17d46ea1b616b.yaml | ||
return-uuid-attribute-for-aggregates-70d9f733f86fb1a3.yaml |