diff --git a/octavia_lib/common/constants.py b/octavia_lib/common/constants.py index d7c80f9..db60f11 100644 --- a/octavia_lib/common/constants.py +++ b/octavia_lib/common/constants.py @@ -163,6 +163,7 @@ AMPHORA_ALLOCATED = 'ALLOCATED' AMPHORA_BOOTING = 'BOOTING' # Amphora is ready to be allocated to a load balancer AMPHORA_READY = 'READY' +AMPHORA_FAILOVER_STOPPED = 'FAILOVER_STOPPED' ACTIVE = 'ACTIVE' PENDING_DELETE = 'PENDING_DELETE' PENDING_UPDATE = 'PENDING_UPDATE' @@ -170,6 +171,7 @@ PENDING_CREATE = 'PENDING_CREATE' DELETED = 'DELETED' SUPPORTED_PROVISIONING_STATUSES = (ACTIVE, AMPHORA_ALLOCATED, AMPHORA_BOOTING, AMPHORA_READY, + AMPHORA_FAILOVER_STOPPED, PENDING_DELETE, PENDING_CREATE, PENDING_UPDATE, DELETED, ERROR) diff --git a/releasenotes/notes/add-failover-stopped-status-722759b7432cad6a.yaml b/releasenotes/notes/add-failover-stopped-status-722759b7432cad6a.yaml new file mode 100644 index 0000000..389b87b --- /dev/null +++ b/releasenotes/notes/add-failover-stopped-status-722759b7432cad6a.yaml @@ -0,0 +1,5 @@ +--- +features: + - | + Introduce new provisioning status 'FAILOVER_STOPPED' for amphorae. This status will + be used when a configured failover threshold is reached.