![Kevin Benton](/assets/img/avatar_default.png)
This adds methods to the Context to add, remove, and get a constraint on an object to be checked before a change is made to that object. Related-Bug: #1493714 Change-Id: Id01c4dfb740f680e96349dc08b11b5bca6c59a74
10 lines
439 B
YAML
10 lines
439 B
YAML
---
|
|
features:
|
|
- |
|
|
Contexts may now have transaction constraints set on them to be enforced
|
|
by the revision plugin in Neutron for generalized compare-and-swap updates.
|
|
Calling ``set_transaction_constraint`` on the context before performing a
|
|
resource mutation will setup the constraint. This is also exposed to users
|
|
via the HTTP API with ``if-match`` headers and the API layer sets the
|
|
constraint on the context.
|