Do not insert FIP entries in S_ROUTER_IN_ARP_RESOLVE stage if the destination is not resident on the local chassis since the the L2 address will be resolved by the arp action
Signed-off-by: Lorenzo Bianconi <[email protected]> --- northd/ovn-northd.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/northd/ovn-northd.c b/northd/ovn-northd.c index 921fe1865..16710c6cd 100644 --- a/northd/ovn-northd.c +++ b/northd/ovn-northd.c @@ -8847,6 +8847,11 @@ build_lrouter_flows(struct hmap *datapaths, struct hmap *ports, &match, "outport == %s && %s == %s", od->l3dgw_port->json_key, is_v6 ? "xxreg0" : "reg0", nat->external_ip); + if (distributed) { + ds_put_format(&match, + " && is_chassis_resident(\"%s\")", + nat->logical_port); + } ds_clear(&actions); ds_put_format( &actions, "eth.dst = %s; next;", -- 2.24.1 _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
