From: Takao Yatagai <[email protected]> A load balancer on a distributed logical router without a distributed gateway port (DGP) is applied in lr_in_dnat on every chassis, but the router gets no un-DNAT for the replies, so they leave it with the backend's address as their source.
Patch 1 factors the priority 120 lr_out_undnat flow of DGP routers out into a helper. Patch 2 adds the same flow, without the DGP and chassis terms, on distributed routers without a DGP. The replies are un-DNATed on the chassis where they re-enter the router, and the CMS must make sure, through its logical topology, that this is the chassis that load balanced the request. v1: https://patchwork.ozlabs.org/project/ovn/list/?series=532911 v2: - Dropped the symmetric_return option: the un-DNAT flow is now added on every distributed router without a DGP. (Numan, Dumitru) - Documented the flow in ovn-logical-flows(7). (Numan) - Added a "Load Balancing on Logical Routers" section to the Load_Balancer table in ovn-nb(5). (Dumitru) - Rebased onto current main. Patch 1 is unchanged apart from Numan's Acked-by. Takao Yatagai (2): northd: Factor out the LB un-DNAT flow of DGP routers. northd: Un-DNAT LB replies on distributed routers without a DGP. Documentation/ref/ovn-logical-flows.7.rst | 13 ++++ NEWS | 4 ++ northd/northd.c | 85 ++++++++++++++++------- ovn-nb.xml | 48 +++++++++++++ tests/ovn-northd.at | 80 +++++++++++++++++++++ 5 files changed, 203 insertions(+), 27 deletions(-) -- 2.55.0 _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
