]> git.puffer.fish Git - matthieu/frr.git/commitdiff
yang: Add SRv6 MSDs to IS-IS YANG model
authorCarmine Scarpitta <carmine.scarpitta@uniroma2.it>
Fri, 4 Aug 2023 06:13:58 +0000 (08:13 +0200)
committerCarmine Scarpitta <carmine.scarpitta@uniroma2.it>
Mon, 11 Sep 2023 20:11:50 +0000 (22:11 +0200)
Signed-off-by: Carmine Scarpitta <carmine.scarpitta@uniroma2.it>
yang/frr-isisd.yang

index 03aefd85f6f26588fa8aef3eae86056c6c080733..fd105d9f764e0be85ee398550ec41e6617c17d92 100644 (file)
@@ -2011,6 +2011,46 @@ module frr-isisd {
           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.";
+            }
+          }
+        }
       }
 
       container mpls {