nova/releasenotes/notes/placement-generation-from-create-provider-203a0ac1ebfe64d9.yaml
Eric Fried 388db7e6e2 placement: Return new provider from POST /rps
To facilitate opaqueness of resource provider generation internals, we
need to return the (initial) generation when a provider is created. For
consistency with other APIs, we will do this by returning the entire
resource provider record (which includes the generation) from POST
/resource_providers.

Change-Id: I8624e194fe0173531c5aa2119c903e3c68b8c6cd
blueprint: generation-from-create-provider
2018-03-14 17:08:55 -05:00

10 lines
422 B
YAML

---
features:
- |
In placement API microversion 1.20, a successful `POST /resource_providers`
returns 200 with a payload representing the newly-created resource
provider. The format is the same format as the result of the corresponding
``GET /resource_providers/{uuid}`` call. This is to allow the caller to
glean automatically-set fields, such as UUID and generation, without a
subsequent GET.