Merge "placement doc: Conflict caveat for DELETE APIs"

This commit is contained in:
Zuul 2018-02-07 13:33:29 +00:00 committed by Gerrit Code Review
commit 3bb7c8dd61
2 changed files with 12 additions and 0 deletions

View File

@ -115,6 +115,12 @@ Normal Response Codes: 204
Error response codes: itemNotFound(404), conflict(409)
.. note:: Since this request does not accept the resource provider generation,
it is not safe to use when multiple threads are managing inventories
for a single provider. In such situations, use the
``PUT /resource_providers/{uuid}/inventories`` API with an empty
``inventories`` dict.
Request
-------

View File

@ -102,6 +102,12 @@ Error response codes: itemNotFound(404), conflict(409)
* `409 Conflict` if the provider's traits are updated by another
thread while attempting the operation.
.. note:: Since this request does not accept the resource provider generation,
it is not safe to use when multiple threads are managing traits for
a single provider. In such situations, use the
``PUT /resource_providers/{uuid}/traits`` API with an empty
``traits`` list.
Request
-------