Add new callbacks event for resouce status update

A new event AFTER_STATUS_UPDATE is added, that will be published to
callbacks when a resource's status is updated in the DB. The first use
of this new event is to indicate when the L3 DB layer has updated
floating IPs status.

Change-Id: I1a85d1af7b4f50a5319c64e47c52ccdaa345e362
Partial-Bug: #2020823
This commit is contained in:
Miguel Lavalle 2023-06-26 18:39:03 -05:00
parent 8e5b6955d2
commit c958933fa0
2 changed files with 6 additions and 0 deletions

View File

@ -26,6 +26,7 @@ AFTER_CREATE = 'after_create'
AFTER_READ = 'after_read'
AFTER_UPDATE = 'after_update'
AFTER_DELETE = 'after_delete'
AFTER_STATUS_UPDATE = 'after_status_update'
# String literals representing events associated to API operations
BEFORE_RESPONSE = 'before_response'

View File

@ -0,0 +1,5 @@
---
features:
- A new ``AFTER_STATUS_UPDATE`` event is added. The first use case of this
new event is to indicate when the L3 DB layer has updated floating IPs
status.