Skip to content
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

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 19 additions & 1 deletion release/models/bfd/openconfig-bfd.yang
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,13 @@ module openconfig-bfd {

oc-ext:openconfig-version "0.3.0";

revision "2024-12-16" {
description
"Add Bfd diagnostic code for when
neighbor signaled session down. Specified in RFC5880.";
reference "0.3.1";
}

revision "2024-03-05" {
description
"Add configuration of min interval, multiplier when
Expand Down Expand Up @@ -192,10 +199,21 @@ module openconfig-bfd {
on the reverse path (i.e., in the transmit direction from the
destination to the source of the session) has failed.";
}
enum NEIGHBOR_DOWN {
value 8;
description
"The Bfd neighbor signaled session down - Bfd packet was received with
neighbor state down.";
}
}
description
"Diagnostic codes defined by BFD. These typically indicate the
reason for a change of session state.";
reason for a change of session state. The NEIGHBOR_DOWN diagnostic
was added to the enum at value 8 to avoid making a breaking change.
This deviates from RFC5880 where the enum is value 3. This also
shifts the following values by 1, in relation to RFC5880:
FORWARDING_RESET, PATH_DOWN, CONCATENATED_PATH_DOWN,
ADMIN_DOWN, REVERSE_CONCATENATED_PATH_DOWN.";
reference
"RFC5880 - Bidirectional Forwarding Detection, Section
4.1";
Expand Down