Skip to content

allow termination mac entries without VID match#115

Draft
KanjiMonster wants to merge 2 commits intomainfrom
jogo_tmac_any_vid
Draft

allow termination mac entries without VID match#115
KanjiMonster wants to merge 2 commits intomainfrom
jogo_tmac_any_vid

Conversation

@KanjiMonster
Copy link
Collaborator

@KanjiMonster KanjiMonster commented Oct 27, 2022

The VID match is optional, so we shouldn't require it, like we don't require the port match.

To ensure that deletion does not delete more than the expected termination mac entries when removing those, switch the delete calls to _STRICT.

Signed-off-by: Jonas Gorski jonas.gorski@bisdn.de

@KanjiMonster KanjiMonster marked this pull request as draft October 27, 2022 09:34
@KanjiMonster KanjiMonster changed the title Jogo tmac any vid allow termination mac entries without VID match Oct 28, 2022
@KanjiMonster
Copy link
Collaborator Author

We will also need this if we decide to add dummy interface support.

When deleting termination mac entries for bridge interfaces, we need to
make sure that we do strict matches, else we might also remove
termination mac entries for the same mac for a specific port.

Signed-off-by: Jonas Gorski <jonas.gorski@bisdn.de>
Allow termination mac entries to not check the VID so that they work
regardless which VID is used for untagged traffic, and can be used for
base port interfaces.

Signed-off-by: Jonas Gorski <jonas.gorski@bisdn.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments