Merge "placement doc: Conflict caveat for DELETE APIs"
This commit is contained in:
commit
3bb7c8dd61
@ -115,6 +115,12 @@ Normal Response Codes: 204
|
|||||||
|
|
||||||
Error response codes: itemNotFound(404), conflict(409)
|
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
|
Request
|
||||||
-------
|
-------
|
||||||
|
|
||||||
|
@ -102,6 +102,12 @@ Error response codes: itemNotFound(404), conflict(409)
|
|||||||
* `409 Conflict` if the provider's traits are updated by another
|
* `409 Conflict` if the provider's traits are updated by another
|
||||||
thread while attempting the operation.
|
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
|
Request
|
||||||
-------
|
-------
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user