forked from ovn-org/ovn
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
northd: Fix broadcast on transit spine switches.
Currently, OVN can't learn FDB entries from remote ports, because learning is happening in the ingress pipeline, while only the egress pipeline is executed in the destination availability zone. So, the destination zone can't learn the source MAC address and has to broadcast replies. The source zone also can't learn from replies, so has to broadcast all the subsequent packets as well. Fix that by introducing FDB learning in the egress pipeline for remote ports. Note: For some reason remote ports were not tracked by ovn-controller. This wasn't a big problem because we didn't use inport/outport matches on the traffic from remote ports in most cases. However, FDB lookups need to match on the input port, and ovn-controller will skip those flows if ports are not related, so marking them as such. (The removal is already handled in a generic way.) Fixes: 67100f0 ("ic: Add support for spine-leaf topology for transit switches.") Signed-off-by: Ilya Maximets <[email protected]>
- Loading branch information
Showing
5 changed files
with
105 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters