Skip to content

[EVPN] Skip EVPN routes with invalid VNI or router mac field #3054#15

Closed
liorghub wants to merge 3 commits intomasterfrom
skip_invalid_route
Closed

[EVPN] Skip EVPN routes with invalid VNI or router mac field #3054#15
liorghub wants to merge 3 commits intomasterfrom
skip_invalid_route

Conversation

@liorghub
Copy link
Copy Markdown
Owner

What I did
Skip EVPN routes with invalid VNI or router mac field

Why I did it
Code assumes number of next hops is equal to amount of VNIs and to amount of router macs.
Usually this is this the case however, we encountered a case of inequality due to bug in FRR.
Bug was opened to FRR but the code should not assume equality therefore I added the check.

How I verified it
I ran EVPN test with code that enforced different vector length, and made sure error is printed to log and route is skipped.

Details if related

@liorghub liorghub closed this Mar 11, 2024
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.

2 participants