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

Move the up-transitions leaf from the async and echo sub-containers into the state container. #1252

Merged
merged 9 commits into from
Mar 5, 2025
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
Loading