-
Notifications
You must be signed in to change notification settings - Fork 68
MPLS + multipath support #104
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
Conversation
Just pushed a new commit that introduces support for multipath routes. Both the MPLS and multipath additions were tested successfully using the Holo routing stack. One thing I'm not too happy about is requiring an |
Signed-off-by: Renato Westphal <[email protected]>
Update:
This PR still depends on netlink-packet-route 0.24 being published first. |
The patch looks good to me, could you add an example code for this I will tag netlink-packet-route 0.24 soon |
netlink-packet-route 0.24.0 published. |
Extend `RouteMessageBuilder` to support the creation of MPLS routes and nexthops with MPLS label stacks. This enables configuration of IP-to-MPLS, MPLS-to-MPLS, and MPLS-to-IP routes. Signed-off-by: Renato Westphal <[email protected]>
Add support for configuring multipath (ECMP) routes. This includes a new `RouteNextHopBuilder` for creating nexthop entries with various attributes. `RouteMessageBuilder` now has a `multipath()` method to attach multiple nexthops using the `RTA_MULTIPATH` attribute. Signed-off-by: Renato Westphal <[email protected]>
Done!
Thank you! I see the CI passed this time, so I've moved the PR out of draft. |
Opening this as a draft PR, as it depends on #90 being merged first.
CI is expected to fail, as this PR also depends on netlink-packet-route v0.24 being published (the code needs rust-netlink/netlink-packet-route#166).