-
Notifications
You must be signed in to change notification settings - Fork 1.5k
explicit SRv6 address configurable per address family #19088
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
b216cb7 to
55646b2
Compare
ton31337
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Documentation, please.
tests/topotests/bgp_srv6_sid_explicit/test_bgp_srv6_sid_explicit.py
Outdated
Show resolved
Hide resolved
55646b2 to
7673bfc
Compare
|
ci:rerun |
5575e1a to
5bc1cca
Compare
|
ci:rerun |
5bc1cca to
cc9a1f0
Compare
cscarpitta
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
ahsalam
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks for extending the explicit SID allocation functionality per address family
cc9a1f0 to
ced440e
Compare
|
ci:rerun |
1 similar comment
|
ci:rerun |
The mode change algorithm is complex, more readability is needed. Simplify the algorithm by splitting into multiple if conditions. Signed-off-by: Philippe Guibert <[email protected]>
Add support for bgp to use explicit SRv6 SID per address-family. The following command is available under ipv4/ipv6 unicast address family node: > sid vpn export explicit X:X::X:X" If SRv6 SID manager allocates the explicit SID successfully, then BGP will advertise it. Signed-off-by: Philippe Guibert <[email protected]>
The following trace may be visible when configuring explicit mode > 2025/06/24 18:14:50.382809 BGP: [H2QJF-E1VQM] ensure_vrf_tovpn_sid_per_af: explicit-mode seleted without sid value. Fix the typo: selected instead of seleted. Signed-off-by: Philippe Guibert <[email protected]>
It should be forbidden to both configure per-address family sid, and per-vrf sid vpn explicit config. Fixes: 7169055 ("bgpd: Add support for BGP to use SRv6 SID in an explicit way") Signed-off-by: Philippe Guibert <[email protected]>
Move some utility functions used to compare expected outputs, outside of the functions. This is a preparatory commit before hosting explicit per-address family testing. Apply black style. Signed-off-by: Philippe Guibert <[email protected]>
Add a test that controls whether the sid per-vrf unconfiguraiton flushes the SIDs from the srv6 sid table. Signed-off-by: Philippe Guibert <[email protected]>
Add a topotest for bgp explicit srv6 sid per address family. Signed-off-by: Philippe Guibert <[email protected]>
Add documentation about sid vpn export command, under bgp address-family. Signed-off-by: Philippe Guibert <[email protected]>
ced440e to
4e26d10
Compare
ton31337
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Allow the ability to configure 'sid vpn explicit' 128 bit ipv6 address per address family.