forked from openvswitch/ovs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ovn: Fix localnet ports on the same chassis.
Multiple logical ports on the same chassis that were connected to the same physical network via localnet ports were not able to send packets to each other. This was because ovn-controller created a single patch port between br-int and the physical network access bridge and used it for all localnet ports. The fix implemented here is to create a separate patch port for every logical port of type=localnet. An optimization is included where these ports are only created if the localnet port is on a logical switch with another logical port with an associated local VIF. A nice side effect of this fix is that the code in physical.c got a lot simpler, as localnet ports are now handled mostly like local VIFs. Fixes: c028192 ("ovn: Add "localnet" logical port type.") Reported-by: Han Zhou <[email protected]> Reported-at: http://openvswitch.org/pipermail/dev/2016-January/064413.html Signed-off-by: Russell Bryant <[email protected]> Tested-by: Kyle Mestery <[email protected] Acked-By: Kyle Mestery <[email protected]> Tested-by: Han Zhou <[email protected]> Tested-by: Michael Arnaldi <[email protected]> Acked-by: Ben Pfaff <[email protected]>
- Loading branch information
Showing
9 changed files
with
139 additions
and
252 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
Oops, something went wrong.