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

ISIS graceful-restart timers and planned restart toggle #1058

Merged
merged 23 commits into from
Mar 26, 2024
Merged
Show file tree
Hide file tree
Changes from 9 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.6.2";
oc-ext:openconfig-version "1.6.3";

revision "2024-02-28" {
description
"ISIS graceful-restart timers and per-level configuration.";
reference "1.6.3";
}

revision "2024-02-20" {
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.6.2";
oc-ext:openconfig-version "1.6.3";

revision "2024-02-28" {
description
"ISIS graceful-restart timers and per-level configuration.";
reference "1.6.3";
}

revision "2024-02-20" {
description
Expand Down
109 changes: 107 additions & 2 deletions 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.6.2";
oc-ext:openconfig-version "1.6.3";

revision "2024-02-28" {
description
"ISIS graceful-restart timers and per-level configuration.";
reference "1.6.3";
}

revision "2024-02-20" {
description
Expand Down Expand Up @@ -925,7 +931,61 @@ module openconfig-isis {
graceful restart procedures during its own restart, but supports
retaining forwarding information during a remote speaker's restart.";
}
reference "RFC 5306: Restart Signaling for IS-IS.";

leaf non-planed-only {
type boolean;
description
"When this leaf is set to TRUE, planned restart procedures, as
described in RFV8706 are not used.";
reference
"RFC 5706: Restart Signaling
for IS-IS";
}

reference
"RFC 5306: Restart Signaling for IS-IS; RFC 5706: Restart Signaling
for IS-IS";
}

grouping isis-graceful-restart-level-config {
description
"This grouping defines ISIS graceful restart configuration relevant
for ISIS level/LSDB";

leaf restart-time {
type int64;
default 30;
description
"Value of RFC5306/RFC8706 T2 timer";
}

reference
"RFC 5306: Restart Signaling for IS-IS; RFC 5706: Restart Signaling
for IS-IS";
}

grouping isis-graceful-restart-interface-config {
description
"This grouping defines ISIS graceful restart configuration relevant
for ISIS interface/adjacency";

leaf interface-timer {
type int64;
description
"Value of RFC5306/RFC8706 T1 timer";
}

leaf interface-time-expirations {
type int64;
description
"Number of times T1 expires before IIH without Restart TLV's RR flag
set is sent. That is GR helper is not supported by adjacents
Inermediate System";
}

reference
"RFC 5306: Restart Signaling for IS-IS; RFC 5706: Restart Signaling
for IS-IS";
}

// configuration context containers
Expand Down Expand Up @@ -1127,6 +1187,8 @@ module openconfig-isis {

uses admin-config;
uses isis-graceful-restart-config;
uses isis-graceful-restart-level-config;
uses isis-graceful-restart-interface-config;
}

container state {
Expand All @@ -1136,6 +1198,8 @@ module openconfig-isis {

uses admin-config;
uses isis-graceful-restart-config;
uses isis-graceful-restart-level-config;
uses isis-graceful-restart-interface-config;
}
}

Expand Down Expand Up @@ -1401,6 +1465,25 @@ module openconfig-isis {
uses isis-bfd-config;
}
}
container graceful-restart {
description
"This container defines ISIS Graceful Restart for interface";

container config {
description
"This container defines interface config parameters for ISIS
graceful-restart.";

uses isis-graceful-restart-interface-config;
}
container state {
config false;
description
"This container defines information for ISIS graceful-restart.";

uses isis-graceful-restart-interface-config;
}
}
}

grouping isis-bfd-config {
Expand Down Expand Up @@ -1494,6 +1577,28 @@ module openconfig-isis {
uses isis-authentication-check-config;
}

container graceful-restart {
description
"This container defines ISIS Graceful Restart.";

container config {
description
"This container defines ISIS graceful-restart configuration.";

uses admin-config;
uses isis-graceful-restart-level-config;
}

container state {
config false;
description
"This container defines state information for ISIS graceful-restart.";

uses admin-config;
uses isis-graceful-restart-level-config;
}
}

container system-level-counters {
description
"This container defines ISIS system level counters.";
Expand Down
Loading