Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MAC learning: Add new actions - put_fdb, get_fdb and lookup_fdb.
This patch adds these OVN actions to learn port-to-mac bindings on the logical ports whose port security is disabled and are configured to accept unknown destination packets. put_fdb(inport, mac) will add an entry in the Southbound 'FDB' table. get_fdb(mac) will get the port key on which the mac is learnt. lookup_fdb(inport, mac) will check if the port-to-mac entry is already present or not. This is added to limit using the action - put_fdb() only if required. An upcoming patch in the series will add the necessary logical flows which makes use of these actions. Acked-by: Mark Michelson <mmichels@redhat.com> Signed-off-by: Numan Siddique <numans@ovn.org>
- Loading branch information
1 parent
6ec3b12
commit f819ce8
Showing
9 changed files
with
472 additions
and
1 deletion.
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
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.