summaryrefslogtreecommitdiffstats
path: root/yang
diff options
context:
space:
mode:
authorRuss White <russ@riw.us>2023-09-12 14:33:42 +0200
committerGitHub <noreply@github.com>2023-09-12 14:33:42 +0200
commit48d6039e144e642394f703d407198547308fe918 (patch)
tree51a2ce29b92248ffd213bcb9d68fac2dccbefd22 /yang
parentMerge pull request #14364 from opensourcerouting/event-fix-delete-during-hash... (diff)
parentdoc: Add documentation for IS-IS SRv6 features (diff)
downloadfrr-48d6039e144e642394f703d407198547308fe918.tar.xz
frr-48d6039e144e642394f703d407198547308fe918.zip
Merge pull request #13724 from cscarpitta/feature/isisd-srv6-support
isisd: Add support for SRv6 uSID (RFC 9352)
Diffstat (limited to 'yang')
-rw-r--r--yang/frr-isisd.yang65
1 files changed, 65 insertions, 0 deletions
diff --git a/yang/frr-isisd.yang b/yang/frr-isisd.yang
index 478d058c1..5d7c739c0 100644
--- a/yang/frr-isisd.yang
+++ b/yang/frr-isisd.yang
@@ -1994,6 +1994,71 @@ module frr-isisd {
}
}
+ container segment-routing-srv6 {
+ description
+ "Segment Routing over IPv6 (SRv6) global configuration.";
+ leaf enabled {
+ type boolean;
+ default "false";
+ description
+ "Enable IS-IS extensions to support Segment Routing over
+ IPv6 data plane (SRv6).";
+ reference
+ "RFC 9352";
+ }
+ leaf locator {
+ type string;
+ description
+ "SRv6 locator.";
+ }
+ container msd {
+ description
+ "SRv6 Maximum SRv6 SID Depths.";
+ container node-msd {
+ description
+ "SRv6 Node Maximum SRv6 SID Depths.";
+ leaf max-segs-left {
+ type uint8 {
+ range "0..255";
+ }
+ default 3;
+ description
+ "Maximum Segments Left MSD.";
+ }
+ leaf max-end-pop {
+ type uint8 {
+ range "0..255";
+ }
+ default 3;
+ description
+ "Maximum End Pop MSD.";
+ }
+ leaf max-h-encaps {
+ type uint8 {
+ range "0..255";
+ }
+ default 2;
+ description
+ "Maximum H.Encaps MSD.";
+ }
+ leaf max-end-d {
+ type uint8 {
+ range "0..255";
+ }
+ default 5;
+ description
+ "Maximum End D MSD.";
+ }
+ }
+ }
+ leaf interface {
+ type string;
+ description
+ "Dummy interface used to install SRv6 SIDs into the Linux data plane.";
+ default "sr0";
+ }
+ }
+
container mpls {
description
"Configuration of MPLS parameters";