Add new LB Algorithm - SOURCE_IP_PORT

LB_ALGORITHM_SOURCE_IP_PORT is an algorithm used by OVN
Load Balancer [0].

[0] https://review.opendev.org/#/c/660369

Story: 2006264
Task: 35951

Change-Id: I605f44f0f50219aa003df477de9bae4062f3c308
This commit is contained in:
Maciej Józefczyk 2019-07-23 12:19:22 +00:00
parent 0c09bcc8df
commit 11b299bcbc
2 changed files with 8 additions and 1 deletions

View File

@ -112,9 +112,11 @@ DISTINGUISHED_NAME_FIELD_REGEX = '^([a-zA-Z][A-Za-z0-9-]*)$'
LB_ALGORITHM_ROUND_ROBIN = 'ROUND_ROBIN'
LB_ALGORITHM_LEAST_CONNECTIONS = 'LEAST_CONNECTIONS'
LB_ALGORITHM_SOURCE_IP = 'SOURCE_IP'
LB_ALGORITHM_SOURCE_IP_PORT = 'SOURCE_IP_PORT'
SUPPORTED_LB_ALGORITHMS = (LB_ALGORITHM_LEAST_CONNECTIONS,
LB_ALGORITHM_ROUND_ROBIN,
LB_ALGORITHM_SOURCE_IP)
LB_ALGORITHM_SOURCE_IP,
LB_ALGORITHM_SOURCE_IP_PORT)
OPERATING_STATUS = 'operating_status'
ONLINE = 'ONLINE'

View File

@ -0,0 +1,5 @@
---
features:
- |
Added SOURCE_IP_PORT algorithm. Currently supported only by OVN provider
driver.