Browse Source

Add SCTP protocol and health-monitor constants

Story: 2007884
Task: 40255

Change-Id: Iba51738982a13cd93125cd26ac02280745821165
changes/34/738834/1
Gregory Thiemonge 1 year ago
parent
commit
1e04120299
  1. 13
      octavia_lib/common/constants.py

13
octavia_lib/common/constants.py

@ -53,10 +53,12 @@ HEALTH_MONITOR_HTTP = 'HTTP'
HEALTH_MONITOR_HTTPS = 'HTTPS'
HEALTH_MONITOR_TLS_HELLO = 'TLS-HELLO'
HEALTH_MONITOR_UDP_CONNECT = 'UDP-CONNECT'
HEALTH_MONITOR_SCTP = 'SCTP'
SUPPORTED_HEALTH_MONITOR_TYPES = (HEALTH_MONITOR_HTTP, HEALTH_MONITOR_HTTPS,
HEALTH_MONITOR_PING, HEALTH_MONITOR_TCP,
HEALTH_MONITOR_TLS_HELLO,
HEALTH_MONITOR_UDP_CONNECT)
HEALTH_MONITOR_UDP_CONNECT,
HEALTH_MONITOR_SCTP)
HEALTH_MONITOR_HTTP_METHOD_GET = 'GET'
HEALTH_MONITOR_HTTP_METHOD_HEAD = 'HEAD'
@ -135,12 +137,15 @@ PROTOCOL_HTTP = 'HTTP'
PROTOCOL_HTTPS = 'HTTPS'
PROTOCOL_TERMINATED_HTTPS = 'TERMINATED_HTTPS'
PROTOCOL_PROXY = 'PROXY'
PROTOCOL_SCTP = 'SCTP'
SUPPORTED_PROTOCOLS = (PROTOCOL_TCP, PROTOCOL_HTTPS, PROTOCOL_HTTP,
PROTOCOL_TERMINATED_HTTPS, PROTOCOL_PROXY, PROTOCOL_UDP)
PROTOCOL_TERMINATED_HTTPS, PROTOCOL_PROXY, PROTOCOL_UDP,
PROTOCOL_SCTP)
LISTENER_SUPPORTED_PROTOCOLS = (PROTOCOL_TCP, PROTOCOL_HTTPS, PROTOCOL_HTTP,
PROTOCOL_TERMINATED_HTTPS, PROTOCOL_UDP)
PROTOCOL_TERMINATED_HTTPS, PROTOCOL_UDP,
PROTOCOL_SCTP)
POOL_SUPPORTED_PROTOCOLS = (PROTOCOL_TCP, PROTOCOL_HTTP, PROTOCOL_HTTPS,
PROTOCOL_PROXY, PROTOCOL_UDP)
PROTOCOL_PROXY, PROTOCOL_UDP, PROTOCOL_SCTP)
PROVISIONING_STATUS = 'provisioning_status'
# Amphora has been allocated to a load balancer

Loading…
Cancel
Save