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-controller: Handle only relevant ports and flows.
On a particular hypervisor, ovn-controller only needs to handle ports and datapaths that have some relationship with it, that is, the ports that actually reside on the hypervisor, plus all the other ports on those ports' datapaths, plus all of the ports and datapaths that are reachable from those via logical patch ports. Until now, ovn-controller has done a poor job of limiting what it deals with to this set. This commit improves the situation. This commit gets rid of the concept of a "patched_datapath" which until now was used to represent any datapath that contained a logical patch port. Previously, the concept of a "local_datapath" meant a datapath with a VIF that resides on the local hypervisor. This commit extends that concept to include any other datapath that can be reached from a VIF on the local hypervisor, which is a simplification that makes the code easier to understand in a few places. CC: Gurucharan Shetty <[email protected]> Signed-off-by: Ben Pfaff <[email protected]> Acked-by: Mickey Spiegel <[email protected]>
- Loading branch information
Showing
12 changed files
with
174 additions
and
206 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
Oops, something went wrong.