-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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 CLI about locator and related funcs #16894
base: master
Are you sure you want to change the base?
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
5d6c171
to
d23ee2c
Compare
ci:rerun |
2b02299
to
e422fc2
Compare
Update the srv6 locator configuration and srv6 locator detail [json] display sections in zebra.rst. Signed-off-by: Yuqing Zhao <[email protected]>
Add topotest zebra_static_opcode_sid to check whether static opcode can be configured manually and generate mySID properly. Besides, supplement JSON display for these sids info. The corresponding command is "show segment-rouing srv6 locator NAME detail json". Signed-off-by: Yuqing Zhao <[email protected]>
In order to support configuring static SRv6 decapsulation functionality on the system, we need to support configuring a purely static mode local SID. This local SID does not rely on BGP to randomly generate a specific mySID address. Instead, it generates a unique mySID table entry by manually specifying the opcode. Signed-off-by: hanyu.zly <[email protected]>
e422fc2
to
55346d4
Compare
zebra: Add support for srv6 locator-opcode
In order to support configuring static SRv6 decapsulation functionality on the system, we need to support configuring a purely static mode local SID. This local SID does not rely on BGP to randomly generate a specific mySID address. Instead, it generates a unique mySID table entry by manually specifying the opcode.
example:
'''
segment-routing
srv6
locators
locator a
prefix fd00::/80 block-len 32 node-len 48 func-bits 16
opcode ::1:2:3:4 end
opcode ::1:2:3:5 end-dt46 vrf Vrf1
exit
!
exit
'''
Signed-off-by: hanyu.zly [email protected]