-
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
implement SBFD #17336
base: master
Are you sure you want to change the base?
implement SBFD #17336
Conversation
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.
looks good ... I think we need a topo test for this, though
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.
Needs to be broken into multiple commits, and this also needs a topo test.
a) This needs to be broken up into multiple commits. 4k lines to review is impossible. Break it down into small logical bits of work, this will never be reviewed otherwise Without some major changes this is dead in the water. |
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
Looks like the docs are in, but we still need a topo test ... |
Yes Russ White, Thanks for reviewing the code. The topo test in ongoing, I will update the PR later. |
Hello, @riw777 @donaldsharp greetings :)
Currently only scenario-3 is topo-tested. Since for scenario-1 and scenario-2, they depend on the PR(#16894) to implement the SRv6 locator Functions. Thanks & Regards. |
Signed-off-by: wumu.zsl <[email protected]>
5e0b3d4
to
95d9081
Compare
some doc warnings to be fixed too.
|
f6abb02
to
7b31f00
Compare
summary of remarks:
|
b5e5a92
to
f80b6f5
Compare
main changes: 1)optimize sbfd cmd line, encap-data supports ipv6 address list validated with yang, add multihop option 2)redesign function get_ip_by_interface 3)leaf name changes for yang file and fix some yang errors 4)delete unused code and macros 5)Fix some typos Signed-off-by: wumu.zsl <[email protected]>
Signed-off-by: wumu.zsl <[email protected]>
Signed-off-by: wumu.zsl <[email protected]>
If I reset all the commits for this branch, I can see that zebra_ptm.h file is modified, whereas it should not:
One of the last changes you should do is rework all the changes you made and split in consistent commits. |
dnl ---------------------- | ||
dnl checking for IPV6_HDRINCL | ||
dnl ---------------------- | ||
AC_MSG_CHECKING([for IPV6_HDRINCL]) |
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.
is this block really needed ?
I don't see HAVE_IPV6_HDRINCL in the code, so I think is not needed
implementing the SBFD feature (RFC7880, RFC7881) in FRR.
What is the motivation for this PR?
The PhoenixWing project aims to implement SRv6 features into the SONiC community. In PhoenixWing traffic engineering case, we use SBFD to protect SRv6 TE paths.
How did you do it?
SBFD HLD in SoNiC community: sonic-net/SONiC#1766
use SBFD to protect TE path, two types of configs are supported:
configure terminal->
bfd ->
peer X::X bfd-mode sbfd-echo bfd-name name local-address X::X encap-type SRv6 encap-data X::X source-ipv6 X::X
2.1) local config:
configure terminal->
bfd ->
peer X::X bfd-mode sbfd-init bfd-name name local-address X::X encap-type SRv6 encap-data X::X source-ipv6 X::X remote-discr 12345
2.2) remote config:
configure terminal ->
bfd ->
sbfd reflector source-address X::X discriminator 12345