Add neutron/plugin/common/constants.py module to neutron-lib
This patch proposes the addition of plugin constants module to neutron-lib. Instead of creating a new file plugin_constants, this patch appends them to the existing constants module within neutron-lib. Change-Id: Id1cb3b36a0409660ff585ef098f5315ccd37af9f Implements: blueprint neutron-lib
This commit is contained in:
@@ -30,6 +30,16 @@ FLOATINGIP_STATUS_ACTIVE = 'ACTIVE'
|
||||
FLOATINGIP_STATUS_DOWN = 'DOWN'
|
||||
FLOATINGIP_STATUS_ERROR = 'ERROR'
|
||||
|
||||
# Service operation status constants
|
||||
ACTIVE = "ACTIVE"
|
||||
DOWN = "DOWN"
|
||||
CREATED = "CREATED"
|
||||
PENDING_CREATE = "PENDING_CREATE"
|
||||
PENDING_UPDATE = "PENDING_UPDATE"
|
||||
PENDING_DELETE = "PENDING_DELETE"
|
||||
INACTIVE = "INACTIVE"
|
||||
ERROR = "ERROR"
|
||||
|
||||
DEVICE_OWNER_COMPUTE_PREFIX = "compute:"
|
||||
DEVICE_OWNER_NETWORK_PREFIX = "network:"
|
||||
DEVICE_OWNER_NEUTRON_PREFIX = "neutron:"
|
||||
|
||||
Reference in New Issue
Block a user