[ovs-dev] [PATCH ovn v2] northd: Fix the missing force_snat_for_lb flows when router_ip is configured.

Numan Siddique numans at ovn.org
Sat Mar 6 10:06:14 UTC 2021


On Sat, Mar 6, 2021 at 12:08 AM Ben Pfaff <blp at ovn.org> wrote:
>
> 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>

Thanks. I applied this patch to master and backported to branch-21.03

Numan

> _______________________________________________
> dev mailing list
> dev at openvswitch.org
> https://mail.openvswitch.org/mailman/listinfo/ovs-dev
>


More information about the dev mailing list