Add UDP to supported protocols for Octavia
Change-Id: I6da312a75f2d998c9dda4f874ab139022429ed2f
This commit is contained in:
parent
d96b564fd4
commit
0776920232
@ -106,7 +106,8 @@ class HealthMonitor(octavia_base.OctaviaBase):
|
||||
_('One of predefined health monitor types.'),
|
||||
required=True,
|
||||
constraints=[
|
||||
constraints.AllowedValues(['PING', 'TCP', 'HTTP', 'HTTPS']),
|
||||
constraints.AllowedValues(['PING', 'TCP', 'HTTP', 'HTTPS',
|
||||
'UDP-CONNECT']),
|
||||
]
|
||||
),
|
||||
URL_PATH: properties.Schema(
|
||||
|
@ -37,8 +37,8 @@ class Listener(octavia_base.OctaviaBase):
|
||||
'sni_container_refs', 'connection_limit', 'tenant_id'
|
||||
)
|
||||
|
||||
SUPPORTED_PROTOCOLS = (TCP, HTTP, HTTPS, TERMINATED_HTTPS, PROXY) = (
|
||||
'TCP', 'HTTP', 'HTTPS', 'TERMINATED_HTTPS', 'PROXY')
|
||||
SUPPORTED_PROTOCOLS = (TCP, HTTP, HTTPS, TERMINATED_HTTPS, PROXY, UDP) = (
|
||||
'TCP', 'HTTP', 'HTTPS', 'TERMINATED_HTTPS', 'PROXY', 'UDP')
|
||||
|
||||
ATTRIBUTES = (
|
||||
LOADBALANCERS_ATTR, DEFAULT_POOL_ID_ATTR
|
||||
|
@ -44,8 +44,8 @@ class Pool(octavia_base.OctaviaBase):
|
||||
'SOURCE_IP', 'HTTP_COOKIE', 'APP_COOKIE'
|
||||
)
|
||||
|
||||
SUPPORTED_PROTOCOLS = (TCP, HTTP, HTTPS, TERMINATED_HTTPS, PROXY) = (
|
||||
'TCP', 'HTTP', 'HTTPS', 'TERMINATED_HTTPS', 'PROXY')
|
||||
SUPPORTED_PROTOCOLS = (TCP, HTTP, HTTPS, TERMINATED_HTTPS, PROXY, UDP) = (
|
||||
'TCP', 'HTTP', 'HTTPS', 'TERMINATED_HTTPS', 'PROXY', 'UDP')
|
||||
|
||||
ATTRIBUTES = (
|
||||
HEALTHMONITOR_ID_ATTR, LISTENERS_ATTR, MEMBERS_ATTR
|
||||
|
@ -0,0 +1,3 @@
|
||||
---
|
||||
features:
|
||||
- Add UDP to supported protocols for Octavia.
|
Loading…
Reference in New Issue
Block a user