octavia/octavia/common/jinja/lvs
Xing Zhang 5352a10f62
Fix weighted round-robin about UDP and SCTP listener
'lb_algo rr' in keepalived won't work correctly with weight
for UDP and SCTP 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

Change-Id: Ic63929d8864e5285baf70dd85e6362988bf2863f
2021-03-03 10:48:28 +08:00
..
templates Add SCTP support in Amphora 2021-01-29 13:58:39 +01:00
__init__.py UDP jinja template 2018-08-01 10:18:31 -07:00
jinja_cfg.py Fix weighted round-robin about UDP and SCTP listener 2021-03-03 10:48:28 +08:00