forked from openvswitch/ovs
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lib/ovs-router: Support optionally adding source-based routes.
Currently the ovs-router doesn't read kernel IP rules, so when there are needs to route based on source IP address there is no way to achieve it in the ovs-router. This patch provides a convenient way to achieve source based routes by providing an optional arg to the ovs-appctl ovs/router/add command 'src_prefix=ip/mask', to allow users to specify matching on src in addition to dst for user-added routes. Signed-off-by: Han Zhou <[email protected]> Signed-off-by: 0-day Robot <[email protected]>
- Loading branch information
Showing
2 changed files
with
191 additions
and
31 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
Oops, something went wrong.