From ad18a19e113cd70cf8269d9dd8fd4c4180f30f4c Mon Sep 17 00:00:00 2001 From: Omer Date: Mon, 12 Sep 2022 16:20:39 +0200 Subject: [PATCH] Fix pool protocols This patch removes the TERMINATED_HTTPS from the pool protocols, as it is not supported. Story 2010290 Task 46263 Change-Id: I43010cc62d6398e5d6b9669a2231ab0404ce216d --- octaviaclient/osc/v2/pool.py | 4 ++-- releasenotes/notes/fix-pool-protocols-090b2a6f4e82516f.yaml | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 releasenotes/notes/fix-pool-protocols-090b2a6f4e82516f.yaml diff --git a/octaviaclient/osc/v2/pool.py b/octaviaclient/osc/v2/pool.py index 100ba59..24519c0 100644 --- a/octaviaclient/osc/v2/pool.py +++ b/octaviaclient/osc/v2/pool.py @@ -25,8 +25,8 @@ from oslo_utils import uuidutils from octaviaclient.osc.v2 import constants as const from octaviaclient.osc.v2 import utils as v2_utils -PROTOCOL_CHOICES = ['TCP', 'HTTP', 'HTTPS', 'TERMINATED_HTTPS', 'PROXY', - 'PROXYV2', 'UDP', 'SCTP'] +PROTOCOL_CHOICES = ['TCP', 'HTTP', 'HTTPS', 'PROXY', 'PROXYV2', 'UDP', + 'SCTP'] ALGORITHM_CHOICES = ['SOURCE_IP', 'ROUND_ROBIN', 'LEAST_CONNECTIONS', 'SOURCE_IP_PORT'] diff --git a/releasenotes/notes/fix-pool-protocols-090b2a6f4e82516f.yaml b/releasenotes/notes/fix-pool-protocols-090b2a6f4e82516f.yaml new file mode 100644 index 0000000..2a5c1a4 --- /dev/null +++ b/releasenotes/notes/fix-pool-protocols-090b2a6f4e82516f.yaml @@ -0,0 +1,4 @@ +--- +fixes: + - | + Removed an unsupported protocol from the pool protocols.