Skip to content

Commit 3735ec2

Browse files
committed
Remove physical port from l2 flow
This allows a localnet VM arp reply to go to OVN, rather than a lookup that only hits the LOCAL port in the fdb table. Signed-off-by: Tim Rozet <[email protected]>
1 parent 813e280 commit 3735ec2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

go-controller/pkg/node/gateway_shared_intf.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1899,8 +1899,8 @@ func commonFlows(hostSubnets []*net.IPNet, bridge *bridgeConfiguration) ([]strin
18991899
}
19001900
actions += strip_vlan + "NORMAL"
19011901
dftFlows = append(dftFlows,
1902-
fmt.Sprintf("cookie=%s, priority=10, table=0, in_port=%s, %s dl_dst=%s, actions=%s",
1903-
defaultOpenFlowCookie, ofPortPhys, match_vlan, bridgeMacAddress, actions))
1902+
fmt.Sprintf("cookie=%s, priority=10, table=0, %s dl_dst=%s, actions=%s",
1903+
defaultOpenFlowCookie, match_vlan, bridgeMacAddress, actions))
19041904
}
19051905

19061906
// table 0, check packets coming from OVN have the correct mac address. Low priority flows that are a catch all

0 commit comments

Comments
 (0)