octavia/octavia/tests/unit/amphorae
Xing Zhang c7640b90ad
Fix weighted round-robin about UDP listener
'lb_algo rr' in keepalived won't work correctly with weight
for UDP listeners, it should be 'lb_algo wrr'.

'wrr' is superset of 'rr' algorithm, as round-robin is
a specical instance of the weighted round-robin scheduling,
in which all the weights are equal. [1]

Algorithm in HAProxy is set to 'roundrobin', which also support
weights, but in keepalived must be set to 'wrr' to work with
the weighted round-robin scheduling, as it is different to 'rr'.

[1] https://www.keepalived.org/doc/scheduling_algorithms.html

Story 2008462
Task 41491

Conflicts:
	octavia/tests/unit/common/jinja/lvs/test_jinja_cfg.py
	octavia/tests/unit/common/sample_configs/sample_configs_combined.py

NOTE(Xing Zhang): The first file does not exist in stable/victoria
due to unit test structure was fixed, file renamed from test_lvs_jinja_cfg.py,
(patch I6d84047b3481a2bf6bf9bd17d482fb504dbc752b) was introduced in stable/wallaby.
The second file has conflict due to the SCTP is supported by the amphora provider
in the Wallaby release. (patch I30997ae6cc6b8ec724f0e9dcfdfe49356b320ff4)

This backport removes SCTP in commit message and releasenote due to SCTP
was introduced in the Wallaby release.

Change-Id: Ic63929d8864e5285baf70dd85e6362988bf2863f
(cherry picked from commit 5352a10f62)
(cherry picked from commit d9603b3d21)
2021-04-08 18:15:58 +08:00
..
backends Fix weighted round-robin about UDP listener 2021-04-08 18:15:58 +08:00
drivers Fix backend certificate file paths 2020-09-17 10:31:19 +00:00
__init__.py Add license for empty __init__.py 2018-03-14 07:02:56 +09:00