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

Add-path support #2

Open
netixx opened this issue May 6, 2024 · 5 comments · Fixed by #3
Open

Add-path support #2

netixx opened this issue May 6, 2024 · 5 comments · Fixed by #3
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@netixx
Copy link

netixx commented May 6, 2024

Hello,

I am trying to implement add-path capability negotiation implementing caps.Cap interface.

However I realized that more core work need to be done do support add-path, because the Reach and Unreach need to include a path ID attributes.

Do you have any plan already to support add-path ?

@pforemski
Copy link
Contributor

pforemski commented May 6, 2024

Hello, and thanks for your interest in this project!

Yes, add-path would require more work for the reasons you specified. I wish I could, but I'm not planning to support this (soon), given other priorities and because I personally consider add-path being incrementally deprecated or avoided in ISP practice. I would be happy to learn I'm wrong. Anyway, I'll put add-path on my todo list (to support reading older MRT files), but can't guarantee any timeline.

@pforemski pforemski added enhancement New feature or request help wanted Extra attention is needed labels May 6, 2024
@netixx
Copy link
Author

netixx commented May 6, 2024

It's a very nice project :)

In my case, we use add-path to be able to get more visibility on router BGP table in a BGP route-collector scenario.
This enables us to compute backup paths for example.

I submitted a draft PR with a first implementation. I see that it's working in my case (ie. with add-path), but still need to test it more.

@pforemski
Copy link
Contributor

Thanks, I commented in the #3 PR.

BTW, I'll be presenting bgpipe (and bgpfix) at RIPE 88 at the Routing WG (https://ripe88.ripe.net/) in 2 weeks. Feel free to participate (possibly remotely) and ask questions / discuss if you'd like to. Happy hacking :)

@netixx
Copy link
Author

netixx commented May 20, 2024

I implemented the fixes you suggested.

I won't be able to go to RIPE, but maybe you'll see some of my colleagues from OVHcloud :)
I wish you a good talk, and I will definitely watch the replay!

@pforemski
Copy link
Contributor

pforemski commented Jun 15, 2024

Thank you so much @netixx!

I have merged your work and made some changes, primarily enabling best-effort ADD_PATH parsing in case we deal with raw MRT files with UPDATEs only (and haven't seen the session negotiation with capabilities).

I have also modified the JSON format when marshaling ADD_PATH prefixes, to avoid confusion with IPv6 addresses (that also use colons and digits).

Would you have time to have a look at #5 ?

@pforemski pforemski self-assigned this Jun 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants