Deprecate amphorav1 driver

amphorav1 is no longer the default provider, and the amphora alias
points to amphorav2. Deprecate amphorav1

Change-Id: Ib9252e3a0a525a55aae08ffb8694496856643c4b
This commit is contained in:
Gregory Thiemonge 2022-08-26 08:37:47 +02:00
parent 34579fdc5e
commit bdb8cab028
3 changed files with 10 additions and 0 deletions

View File

@ -784,6 +784,7 @@ RBAC_ROLES_DEPRECATED_REASON = (
# PROVIDERS
OCTAVIA = 'octavia'
AMPHORAV2 = 'amphorav2'
# Deprecated in Z, to be removed
AMPHORAV1 = 'amphorav1'
# systemctl commands

View File

@ -48,6 +48,10 @@ class ControllerWorker(base_taskflow.BaseTaskFlowEngine):
def __init__(self):
LOG.warning("The 'amphorav1' provider is deprecated and will be "
"removed in a future release. Use the 'amphora' driver "
"instead.")
self._amphora_flows = amphora_flows.AmphoraFlows()
self._health_monitor_flows = health_monitor_flows.HealthMonitorFlows()
self._lb_flows = load_balancer_flows.LoadBalancerFlows()

View File

@ -0,0 +1,5 @@
---
deprecations:
- |
The 'amphorav1' provider is deprecated and will be removed in a future
release. Use the 'amphora' provider (an alias for 'amphorav2') instead.