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 v5: - fix lb port match for openflow table 78 - fix lb port match affinity_learn stage - improve selftests - fix typos 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 | 8 + lib/actions.c | 414 +++++++++++++++++++++++++++++++ lib/lb.c | 10 + lib/lb.h | 1 + northd/northd.c | 390 ++++++++++++++++++++++------- northd/ovn-northd.8.xml | 208 +++++++++++++--- ovn-nb.xml | 7 + 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, 1699 insertions(+), 283 deletions(-) -- 2.38.1 _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
