Browse Source

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
changes/75/672275/2
Maciej Józefczyk 2 years ago
parent
commit
11b299bcbc
2 changed files with 8 additions and 1 deletions
  1. +3
    -1
      octavia_lib/common/constants.py
  2. +5
    -0
      releasenotes/notes/add-lb-algorithm-source-ip-port-5cc83a9e3fcf4763.yaml

+ 3
- 1
octavia_lib/common/constants.py 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'


+ 5
- 0
releasenotes/notes/add-lb-algorithm-source-ip-port-5cc83a9e3fcf4763.yaml View File

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

Loading…
Cancel
Save