From 52ddf09adf1023b77e0abc14f693f5c54d95a4cd Mon Sep 17 00:00:00 2001 From: AnilKR123 Date: Tue, 17 Dec 2024 15:25:34 +0000 Subject: [PATCH] Move NEIGHBOR_DOWN to the end of the enums list to preserve the original ordering. --- release/models/bfd/openconfig-bfd.yang | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/release/models/bfd/openconfig-bfd.yang b/release/models/bfd/openconfig-bfd.yang index 429a220f8..f4e40e956 100644 --- a/release/models/bfd/openconfig-bfd.yang +++ b/release/models/bfd/openconfig-bfd.yang @@ -164,27 +164,21 @@ module openconfig-bfd { "The BFD echo function failed - echo packets have not been received for the required period of time."; } - enum NEIGHBOR_DOWN { - value 3; - description - "The Bfd neighbor signaled session down - Bfd packet was received with - neighbor state down."; - } enum FORWARDING_RESET { - value 4; + value 3; description "The forwarding plane in the local system was reset - such that the remote system cannot rely on the forwarding state of the device specifying this error code."; } enum PATH_DOWN { - value 5; + value 4; description "Signalling outside of BFD specified that the path underlying this session has failed."; } enum CONCATENATED_PATH_DOWN { - value 6; + value 5; description "When a BFD session runs over a series of path segments, this error code indicates that a subsequent path segment (i.e., @@ -192,19 +186,25 @@ module openconfig-bfd { of the session) has failed."; } enum ADMIN_DOWN { - value 7; + value 6; description "The BFD session has been administratively disabled by the peer."; } enum REVERSE_CONCATENATED_PATH_DOWN { - value 8; + value 7; description "In the case that a BFD session is running over a series of path segments, this error code indicates that a path segment 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