Status attributes for GBP resources
Adds attributes to reflect the opertaional status of a resource.
Also updates Policy Driver interface and Policy Plugin implementation
to conditionally allow policy drivers to pull and update status
in response to a GET.
Change-Id: I4f123d8b84125427032ebb9d75aad40b33617271
Implements: blueprint resource-status
(cherry picked from commit 05a7709fb2)
This commit is contained in:
@@ -38,3 +38,9 @@ GP_NETWORK_SVC_PARAM_TYPE_STRING = 'string'
|
||||
|
||||
GP_NETWORK_SVC_PARAM_VALUE_SELF_SUBNET = 'self_subnet'
|
||||
GP_NETWORK_SVC_PARAM_VALUE_NAT_POOL = 'nat_pool'
|
||||
|
||||
STATUS_ACTIVE = 'ACTIVE'
|
||||
STATUS_BUILD = 'BUILD'
|
||||
STATUS_ERROR = 'ERROR'
|
||||
|
||||
STATUS_STATES = [STATUS_ACTIVE, STATUS_BUILD, STATUS_ERROR]
|
||||
|
||||
Reference in New Issue
Block a user