Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zebra: fix EVPN check vxlan oper up in vlan mapping #17483

Merged
merged 5 commits into from
Nov 26, 2024

Conversation

chiragshah6
Copy link
Member

The issue is when bridge flap lead to failure of Type-2/Type-3 route installation.
Upon VxLAN device flap, the associated vlan-vni mapping is processed
before the VxLAN device up netlink notification.

Fix:
When VLAN-VNI mapping is updated, do not set the L2VNI up event
if the associated VXLAN device is not up. This may result in bgp
synced remote routes to skip installing in Zebra and onwards (Kernel).

Signed-off-by: Chirag Shah [email protected]

When VLAN-VNI mapping is updated, do not set the L2VNI up event
if the associated VXLAN device is not up.
This may result in bgp synced remote routes to skip installing
in Zebra and onwards (Kernel).

Ticket: #4139506

Signed-off-by: Chirag Shah <[email protected]>
Ticket: #4139506

Signed-off-by: Chirag Shah <[email protected]>
Ticket: #4139506

Signed-off-by: Chirag Shah <[email protected]>
Ticket: #4127810
Testing:
2024-11-20T01:52:10.073 frr_zebra:netlink_neigh_update_msg_encode
{'mac': '00:00:00:00:00:00', 'ip': '27.0.0.4', 'nhg': 0, 'flags': 2,
'state': 192, 'family': 'bridge', 'type': 0, 'op': 23}

Signed-off-by: Chirag Shah <[email protected]>
python3 -m black tools/frr_babeltrace.py

Signed-off-by: Chirag Shah <[email protected]>
@chiragshah6
Copy link
Member Author

Fixed the appropriate style issues.

@ton31337
Copy link
Member

Can we fix frrbot also?

Copy link
Member

@riw777 riw777 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good

@chiragshah6
Copy link
Member Author

Can we fix frrbot also?

@ton31337 I fixed whole bunch, the others we should leave as is, the remaining ones are more readable and not expanded in single lines as the "black" tool reported.

@riw777 riw777 merged commit bcf6e53 into FRRouting:master Nov 26, 2024
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants