From 63bd2546c398f03a439d9d950ac77b6ac7731bc4 Mon Sep 17 00:00:00 2001 From: AnilKR123 Date: Tue, 17 Dec 2024 18:44:40 +0000 Subject: [PATCH] Add comment about RFC5880 deviation. --- release/models/bfd/openconfig-bfd.yang | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/release/models/bfd/openconfig-bfd.yang b/release/models/bfd/openconfig-bfd.yang index f4e40e956..942e15a92 100644 --- a/release/models/bfd/openconfig-bfd.yang +++ b/release/models/bfd/openconfig-bfd.yang @@ -208,7 +208,12 @@ module openconfig-bfd { } 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";