staticd: Add support for SRv6 Static SIDs#16894
staticd: Add support for SRv6 Static SIDs#16894pguibert6WIND merged 15 commits intoFRRouting:masterfrom
Conversation
|
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
|
This should be broken up in to a bunch of smaller commits, with detailed explanations of what each commit is doing and why. Additionally I see white space changes that make it even harder to figure out what is going on. They should be removed. |
|
Additionally this is not going to be even looked at until we have a topology test as well as documentation for the new functionality |
113f49b to
9d52e4a
Compare
2c51a1d to
64739c5
Compare
|
LGTM |
|
ci:rerun |
|
The code is ok to me. lets wait last change about yang description field before turning on approval. |
Signed-off-by: Yuqing Zhao <[email protected]>
Signed-off-by: Yuqing Zhao <[email protected]>
Signed-off-by: Yuqing Zhao <[email protected]>
This commit adds datastructures and helper functions required to support SRv6 in staticd. * List of locators * List of SIDs * Data structure to represent an SRv6 SID * Functions to allocate/deallocate an SRv6 SID * Functions to allocate, deallocate and lookup a locator * Function to initialize/Cleanup SRv6 Signed-off-by: Yuqing Zhao <[email protected]>
This commit moves DEFAULT_SRV6_IFNAME from isis_srv6.h to srv6.h because there are other daemons that might want to use it (e.g. staticd). Signed-off-by: Yuqing Zhao <[email protected]>
Signed-off-by: Yuqing Zhao <[email protected]>
Signed-off-by: Yuqing Zhao <[email protected]>
Signed-off-by: Yuqing Zhao <[email protected]>
Add Northbound APIs to create/modify/destroy an SRv6 SID Signed-off-by: Yuqing Zhao <[email protected]>
Signed-off-by: Yuqing Zhao <[email protected]>
Signed-off-by: Yuqing Zhao <[email protected]>
Signed-off-by: Yuqing Zhao <[email protected]>
Signed-off-by: Yuqing Zhao <[email protected]>
Signed-off-by: Yuqing Zhao <[email protected]>
Add the srv6 static sids configuration and show running-config sections in static.rst. Signed-off-by: Yuqing Zhao <[email protected]>
@pguibert6WIND Thanks very much. We pushed the code with the required changes. |
SRv6 is already supported in IS-IS and BGP. In this PR we extend staticd to support static allocation for SRv6 SIDs.
CLI example:
segment-routing srv6 static-sids: sid fcbb:bbbb:1:fe01::/64 locator LOC1 behavior uDT4 vrf Vrf1