8000 Frr integration by maxime-leroy · Pull Request #205 · DPDK/grout · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Frr integration #205

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

Merged
merged 2 commits into from
Apr 28, 2025
Merged

Frr integration #205

merged 2 commits into from
Apr 28, 2025

Conversation

maxime-leroy
Copy link
Contributor

Few small enhancement to support FRR.

These values were taken from FRR. We only need them for display
purposes in the CLI.

Link: https://github.com/FRRouting/frr/blob/frr-10.3/zebra/rt_netlink.h#L36
Signed-off-by: Maxime Leroy <maxime@leroys.fr>
To support FRR, interfaces created or deleted in Grout must be synchronized
with FRR. FRR listens for interface notifications from Grout to keep its
internal state consistent.

When FRR receives an IFACE_EVENT_PRE_REMOVE notification, the dplane plugin
in FRR attempts to remove the corresponding interface from memory. How
7168
ever,
Zebra fails to delete it if the interface is still marked as "up".

In the Linux kernel, when an interface is deleted, a netlink message is
first sent to indicate that the interface is down. Grout should follow the
same behavior.

Signed-off-by: Maxime Leroy <maxime@leroys.fr>
@christophefontaine christophefontaine merged commit 0087baa into DPDK:main Apr 28, 2025
8 checks passed
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
0