[ovs-dev] [PATCH ovn v2] northd: Fix the missing force_snat_for_lb flows when router_ip is configured.
Ben Pfaff
blp at ovn.org
Fri Mar 5 18:38:21 UTC 2021
On Fri, Mar 05, 2021 at 02:53:47PM +0530, numans at ovn.org wrote:
> From: Numan Siddique <numans at ovn.org>
>
> The commit c6e21a23bd8 which supported the option 'lb_force_snat_ip=router_ip'
> on a gateway router, missed out on
> - updating the flows in 'lr_in_dnat' to set 'flags.force_snat_for_lb = 1'.
> - removing the flow to drop if ip.dst == router port IP in 'lr_in_ip_input'
> stage.
>
> This patch fixes these issue and adds a system test to cover the
> hairpin load balancer traffic for the gateway routers.
>
> Fixes: c6e21a23bd8("northd: Provide the Gateway router option 'lb_force_snat_ip' to take router port ips.")
>
> CC: Ben Pfaff <blp at ovn.org>
> Signed-off-by: Numan Siddique <numans at ovn.org>
Thanks!
Acked-by: Ben Pfaff <blp at ovn.org>
More information about the dev
mailing list