-
Notifications
You must be signed in to change notification settings - Fork 659
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 Bfd diagnostic code for when neighbor signaled session down. #1233
Conversation
I moved NEIGHBOR_DOWN to the end of the enums list. Thanks. |
I would like to propose deprecating the bfd-diagnostic-code enum and creating a new enum, perhaps called rfc5880-bfd-diagnostic-code. The bfd-diagnostic-code enum is missing “Neighbor Signaled Session Down” diag, as specified in RFC5880: A diagnostic code specifying the local system's reason for the
The objection to adding this diagnostic code to enum value 3 is that it would be a breaking change. However adding it to the end of the enum would not only make Neighbor Down not compliant, but also all of the enum values after 3 differ in relation to the RFC. This adds operational complexity since clients now need a parser to map between the RFC codes and OC public codes. By adding a new enum for the diag codes, we could support the RFC compliant values. And each vendor can decide which leaf they want to support for now. |
/gcbrun |
No major YANG version changes in commit ee8fa28 |
OC Operator opinion is that it's more important to have a vendor neutral model where all vendors consistently implement the same OpenConfig model and there is only one way to model the BFD state. It's also viewed as more churn to refactor the model than to add the enum to the end, even though it doesn't match the packets on the wire. So this PR change is approved as is. Last call for Feb 25, 2025. |
/gcbrun |
@AnilKR123 one misc check is failing, can you fix it please?
|
Hi @dplore, I have fixed the issue by bumping the version number. Thanks. |
/gcbrun |
/gcbrun |
/gcbrun |
Change Scope
I have added a Bfd diagnostic code for when neighbor signals session down. This is specified in RFC5880 but is absent from the public model.
From RFC5880: