Introduce load-balancer affinity timeout in order to dnat connections received from the same client to a given load-balancer to the same backend if received in the affinity timeslot specified by the CMS.
Reported-at: https://bugzilla.redhat.com/show_bug.cgi?id=2127959 Changes since v4: - add lb-affinity selftest when the lb is applied on logical switches - fix letfover issue when the lb is applied on logical switches Changes since v3: - add IPv6 selftests - fix lb-affinity when the lb is applied on logical switches - improve code readability - fix typos Changes since v2: - remove port and protocl dependency Changes since v1: - rebase on top of ovn master - fix system-ovn.at - fix documentation - take into account the case the CMS does not provide vip/backends ports Lorenzo Bianconi (3): actions: introduce commit_lb_aff action actions: introduce chk_lb_aff action northd: rely on new actions for lb affinity controller/lflow.h | 1 + include/ovn/actions.h | 16 ++ include/ovn/logical-fields.h | 3 + lib/actions.c | 404 ++++++++++++++++++++++++++++++ lib/lb.c | 3 + lib/lb.h | 1 + northd/northd.c | 392 ++++++++++++++++++++++------- northd/ovn-northd.8.xml | 208 +++++++++++++--- ovn-nb.xml | 6 + ovn-sb.xml | 44 ++++ tests/ovn-northd.at | 346 ++++++++++++++++---------- tests/ovn.at | 68 +++-- tests/system-ovn.at | 465 ++++++++++++++++++++++++++++++++++- utilities/ovn-trace.c | 4 + 14 files changed, 1679 insertions(+), 282 deletions(-) -- 2.38.1 _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
