octavia/octavia/tests/unit/amphorae/backends/utils
Xing Zhang db24d7bb51
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
	octavia/tests/unit/common/jinja/lvs/test_lvs_jinja_cfg.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)
The third file has conflict due to HTTP and TCP checks in UDP healthmonitor
(patch I61c7d8d4df54710a92b8c055be84bba29bf3d7e6) was introduced in stable/ussuri.

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)
(cherry picked from commit c7640b90ad)
(cherry picked from commit a8266a9e4f)
2021-04-13 00:11:41 +08:00
..
__init__.py Add license for empty __init__.py 2018-03-14 07:02:56 +09:00
test_haproxy_query.py Fix multi-listener load balancers 2019-07-23 14:28:49 -07:00
test_ip_advertisement.py Refactor the failover flows 2020-07-09 10:59:04 +00:00
test_keepalivedlvs_query.py Fix weighted round-robin about UDP listener 2021-04-13 00:11:41 +08:00
test_network_namespace.py Refactor the failover flows 2020-07-09 10:59:04 +00:00
test_network_utils.py Refactor the failover flows 2020-07-09 10:59:04 +00:00