From 938b90ea1957e221fec05e3c0bb95f56228e3cf9 Mon Sep 17 00:00:00 2001 From: cuongmax Date: Sat, 17 Jul 2021 09:17:55 +0700 Subject: [PATCH] Add protocol listener octavia Signed-off-by: cuongmax Change-Id: I98c316865837e7c68fa3eed2f5304950ebfc2141 --- plugins/modules/lb_listener.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/modules/lb_listener.py b/plugins/modules/lb_listener.py index d83a776b..9f8f733b 100644 --- a/plugins/modules/lb_listener.py +++ b/plugins/modules/lb_listener.py @@ -30,7 +30,7 @@ options: protocol: description: - The protocol for the listener. - choices: [HTTP, HTTPS, TCP, TERMINATED_HTTPS] + choices: [HTTP, HTTPS, TCP, TERMINATED_HTTPS, UDP, SCTP] default: HTTP type: str protocol_port: @@ -152,7 +152,7 @@ class LoadbalancerListenerModule(OpenStackModule): state=dict(default='present', choices=['absent', 'present']), loadbalancer=dict(required=True), protocol=dict(default='HTTP', - choices=['HTTP', 'HTTPS', 'TCP', 'TERMINATED_HTTPS']), + choices=['HTTP', 'HTTPS', 'TCP', 'TERMINATED_HTTPS', 'UDP', 'SCTP']), protocol_port=dict(default=80, type='int', required=False), ) module_kwargs = dict()