Skip to content

Commit

Permalink
Add isis total-lsp count (openconfig#831)
Browse files Browse the repository at this point in the history
* Update release/models/isis/openconfig-isis.yang
*Add total-lsps leaf to count  ISIS lsp's per level
  • Loading branch information
dplore authored May 1, 2023
1 parent 30c91d2 commit 9c33b62
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 3 deletions.
8 changes: 7 additions & 1 deletion release/models/isis/openconfig-isis-lsp.yang
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,13 @@ submodule openconfig-isis-lsp {
Section 4.c of the IETF Trust's Legal Provisions Relating
to IETF Documents (http://trustee.ietf.org/license-info).";

oc-ext:openconfig-version "1.5.1";
oc-ext:openconfig-version "1.6.0";

revision "2023-05-01" {
description
"Add ISIS total-lsps counter.";
reference "1.6.0";
}

revision "2023-04-25" {
description
Expand Down
8 changes: 7 additions & 1 deletion release/models/isis/openconfig-isis-routing.yang
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,13 @@ submodule openconfig-isis-routing {
description
"This module describes YANG model for ISIS Routing";

oc-ext:openconfig-version "1.5.1";
oc-ext:openconfig-version "1.6.0";

revision "2023-05-01" {
description
"Add ISIS total-lsps counter.";
reference "1.6.0";
}

revision "2023-04-25" {
description
Expand Down
14 changes: 13 additions & 1 deletion release/models/isis/openconfig-isis.yang
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,13 @@ module openconfig-isis {
+-> { levels config }
+-> { level adjacencies }";

oc-ext:openconfig-version "1.5.1";
oc-ext:openconfig-version "1.6.0";

revision "2023-05-01" {
description
"Add ISIS total-lsps counter.";
reference "1.6.0";
}

revision "2023-04-25" {
description
Expand Down Expand Up @@ -2035,6 +2041,12 @@ module openconfig-isis {
description
"IS-IS counters that are relevant to the system IS-IS context.";

leaf total-lsps {
type oc-yang:counter32;
description
"Number of LSPs in the database at the system level.";
}

leaf corrupted-lsps {
type oc-yang:counter32;
description
Expand Down

0 comments on commit 9c33b62

Please sign in to comment.