Skip to content

Commit

Permalink
Move the up-transitions leaf from the async and echo sub-containers i…
Browse files Browse the repository at this point in the history
…nto the state container. (#1252)

* Move the up-transitions leaf into the state container.
  • Loading branch information
AnilKR123 authored Mar 5, 2025
1 parent 11658ea commit 2e6e16a
Showing 1 changed file with 22 additions and 4 deletions.
26 changes: 22 additions & 4 deletions release/models/bfd/openconfig-bfd.yang
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,14 @@ module openconfig-bfd {
"An OpenConfig model of Bi-Directional Forwarding Detection (BFD)
configuration and operational state.";

oc-ext:openconfig-version "0.3.1";
oc-ext:openconfig-version "0.4.0";

revision "2025-02-05" {
description
"Move the up-transitions leaf from the async and echo
sub-containers into the state container.";
reference "0.4.0";
}

revision "2024-12-16" {
description
Expand Down Expand Up @@ -287,7 +294,6 @@ module openconfig-bfd {
}

leaf transmitted-packets {
// TODO: looks to be unsupported on JUNOS
type uint64;
description
"The number of packets that have been transmitted
Expand All @@ -303,11 +309,15 @@ module openconfig-bfd {
}

leaf up-transitions {
// TODO: looks to only be supported in SROS
status deprecated;
type uint64;
description
"The number of times that the adjacency with the neighbor
has transitioned into the up state.";
has transitioned into the up state.
This leaf is deprecated and will be replaced by a single
up-transitions leaf in state container. New path:
/bfd/interfaces/interface/peers/peer/state/up-transitions.";
}
}

Expand Down Expand Up @@ -345,6 +355,14 @@ module openconfig-bfd {
out of the UP state.";
}

leaf up-transitions {
// TODO: looks to only be supported in SROS
type uint64;
description
"The number of times that the adjacency with the neighbor
has transitioned into the up state.";
}

leaf local-discriminator {
type string;
description
Expand Down

0 comments on commit 2e6e16a

Please sign in to comment.