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

Define telemetry-atomic-exempt annotation. Add telemetry-atomic-exempt annotation to AFT counters containers #1186

Merged
merged 10 commits into from
Oct 22, 2024
10 changes: 9 additions & 1 deletion release/models/aft/openconfig-aft-common.yang
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,13 @@ submodule openconfig-aft-common {
"Submodule containing definitions of groupings that are re-used
across multiple contexts within the AFT model.";

oc-ext:openconfig-version "2.7.0";
oc-ext:openconfig-version "2.8.0";

revision "2024-09-19" {
description
"Add atomic-exempt attribute to AFT counters containers.";
reference "2.8.0";
}

revision "2024-09-05" {
description
Expand Down Expand Up @@ -1093,6 +1099,7 @@ submodule openconfig-aft-common {
}

grouping aft-common-entry-counter-state {
oc-ext:telemetry-atomic-exempt;
description
"Counters relating to a forwarding entry";

Expand All @@ -1112,6 +1119,7 @@ submodule openconfig-aft-common {
}

grouping aft-common-backup-entry-counter-state {
oc-ext:telemetry-atomic-exempt;
description
"Counters relating to a backup forwarding entry";

Expand Down
8 changes: 7 additions & 1 deletion release/models/aft/openconfig-aft-ethernet.yang
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,13 @@ submodule openconfig-aft-ethernet {
"Submodule containing definitions of groupings for the abstract
forwarding tables for Ethernet.";

oc-ext:openconfig-version "2.7.0";
oc-ext:openconfig-version "2.8.0";

revision "2024-09-19" {
description
"Add atomic-exempt attribute to AFT counters containers.";
reference "2.8.0";
}

revision "2024-07-18" {
description
Expand Down
8 changes: 7 additions & 1 deletion release/models/aft/openconfig-aft-ipv4.yang
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,13 @@ submodule openconfig-aft-ipv4 {
"Submodule containing definitions of groupings for the abstract
forwarding tables for IPv4.";

oc-ext:openconfig-version "2.7.0";
oc-ext:openconfig-version "2.8.0";

revision "2024-09-19" {
description
"Add atomic-exempt attribute to AFT counters containers.";
reference "2.8.0";
}

revision "2024-09-05" {
description
Expand Down
8 changes: 7 additions & 1 deletion release/models/aft/openconfig-aft-ipv6.yang
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,13 @@ submodule openconfig-aft-ipv6 {
"Submodule containing definitions of groupings for the abstract
forwarding tables for IPv6.";

oc-ext:openconfig-version "2.7.0";
oc-ext:openconfig-version "2.8.0";

revision "2024-09-19" {
description
"Add atomic-exempt attribute to AFT counters containers.";
reference "2.8.0";
}

revision "2024-07-18" {
description
Expand Down
8 changes: 7 additions & 1 deletion release/models/aft/openconfig-aft-mpls.yang
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,13 @@ submodule openconfig-aft-mpls {
"Submodule containing definitions of groupings for the abstract
forwarding table for MPLS label forwarding.";

oc-ext:openconfig-version "2.7.0";
oc-ext:openconfig-version "2.8.0";

revision "2024-09-19" {
description
"Add atomic-exempt attribute to AFT counters containers.";
reference "2.8.0";
}

revision "2024-09-05" {
description
Expand Down
8 changes: 7 additions & 1 deletion release/models/aft/openconfig-aft-pf.yang
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,13 @@ submodule openconfig-aft-pf {
fields other than the destination address that is used in
other forwarding tables.";

oc-ext:openconfig-version "2.7.0";
oc-ext:openconfig-version "2.8.0";

revision "2024-09-19" {
description
"Add atomic-exempt attribute to AFT counters containers.";
reference "2.8.0";
}

revision "2024-07-18" {
description
Expand Down
8 changes: 7 additions & 1 deletion release/models/aft/openconfig-aft-state-synced.yang
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,13 @@ submodule openconfig-aft-state-synced {
"Submodule containing definitions of groupings for the state
synced signals corresponding to various abstract forwarding tables.";

oc-ext:openconfig-version "2.7.0";
oc-ext:openconfig-version "2.8.0";

revision "2024-09-19" {
description
"Add atomic-exempt attribute to AFT counters containers.";
reference "2.8.0";
}

revision "2024-07-18" {
description
Expand Down
8 changes: 7 additions & 1 deletion release/models/aft/openconfig-aft.yang
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,13 @@ module openconfig-aft {
is referred to as an Abstract Forwarding Table (AFT), rather than
the FIB.";

oc-ext:openconfig-version "2.7.0";
oc-ext:openconfig-version "2.8.0";

revision "2024-09-19" {
description
"Add atomic-exempt attribute to AFT counters containers.";
reference "2.8.0";
}

revision "2024-09-05" {
description
Expand Down
27 changes: 25 additions & 2 deletions release/models/openconfig-extensions.yang
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,13 @@ module openconfig-extensions {
"This module provides extensions to the YANG language to allow
OpenConfig specific functionality and meta-data to be defined.";

oc-ext:openconfig-version "0.5.1";
oc-ext:openconfig-version "0.6.0";

revision "2024-09-19" {
description
"Add telemetry-atomic-exempt annotation.";
reference "0.6.0";
}

revision "2022-10-05" {
description
Expand Down Expand Up @@ -154,7 +160,7 @@ module openconfig-extensions {
extension telemetry-atomic {
description
"The telemetry-atomic annotation is specified in the context of
a subtree (containre, or list), and indicates that all nodes
a subtree (container, or list), and indicates that all nodes
within the subtree are always updated together within the data
model. For example, all elements under the subtree may be updated
as a result of a new alarm being raised, or the arrival of a new
Expand All @@ -164,6 +170,23 @@ module openconfig-extensions {
optimisations for sending or storing the corresponding data.";
}

extension telemetry-atomic-exempt {
description
"The telemetry-atomic-exempt annotation is specified in the context
of a node or subtree (container, or list), and indicates that the node
or all nodes within the subtree are not always updated together within
the data model of the parent tree. All elements under the subtree may
not be updated as a result of a new alarm being raised, or the arrival
of a new protocol message that updates the parent tree.

This annotation allows parent tree containers with telemetry-atomic
annotation to not be updated when a more frequently updated node or
subtree. For example, a counters container is present.

This extension should only be used when there is a parent that
contains telemetry-atomic extension.";
}
dplore marked this conversation as resolved.
Show resolved Hide resolved

extension operational {
description
"The operational annotation is specified in the context of a
Expand Down
Loading