]> git.proxmox.com Git - mirror_frr.git/blobdiff - yang/frr-pim.yang
Merge pull request #9750 from mjstapp/zebra_installed_nhg_id
[mirror_frr.git] / yang / frr-pim.yang
index 922ee5d1051f5bdb5ea1db9e97831e50c480b2eb..109ce22309583217dcea0290fe7c4a6622d75a1c 100644 (file)
@@ -97,7 +97,7 @@ module frr-pim {
 
     leaf keep-alive-timer {
       type uint16 {
-        range "31..60000";
+        range "1..max";
       }
       default "210";
       description
@@ -106,13 +106,54 @@ module frr-pim {
 
     leaf rp-keep-alive-timer {
       type uint16 {
-        range "31..60000";
+        range "1..max";
       }
       default "210";
       description
         "RP keep alive Timer in seconds.";
     }
   }
+
+  grouping msdp-timers {
+    leaf hold-time {
+      type uint16 {
+        range "1..max";
+      }
+      units seconds;
+      default 75;
+      description
+        "Hold period is started at the MSDP peer connection establishment
+         and is reset every new message. When the period expires the
+         connection is closed. This value should be greater than the
+         remote keep-alive time.";
+    }
+
+    leaf keep-alive {
+      type uint16 {
+        range "1..max";
+      }
+      units seconds;
+      default 60;
+      description
+        "To maintain a connection established it is necessary to send
+         keep alive messages in a certain frequency and this allows its
+         configuration. This value should be less than the remote
+         hold time.";
+    }
+
+    leaf connection-retry {
+      type uint16 {
+        range "1..max";
+      }
+      units seconds;
+      default 30;
+      description
+        "This period is used in the MSDP peer with the highest IP value
+         in the pair and configures the interval between TCP connection
+         attempts.";
+    }
+  }
+
   grouping per-af-global-pim-config-attributes {
     description
       "A grouping defining per address family pim global attributes";
@@ -174,6 +215,12 @@ module frr-pim {
         "Enable ssmpingd operation.";
     }
 
+    /* Global timers configuration. */
+    container msdp {
+      description "Global MSDP configuration.";
+      uses msdp-timers;
+    }
+
     list msdp-mesh-groups {
       key "name";
       description
@@ -294,7 +341,7 @@ module frr-pim {
 
     leaf hello-interval {
       type uint8 {
-        range "1..180";
+        range "1..max";
       }
       default "30";
       description
@@ -302,8 +349,8 @@ module frr-pim {
     }
 
     leaf hello-holdtime {
-      type uint8 {
-        range "1..180";
+      type uint16 {
+        range "1..max";
       }
       must ". > ./../hello-interval" {
       error-message "HoldTime must be greater than Hello";
@@ -318,7 +365,7 @@ module frr-pim {
 
       leaf min-rx-interval {
         type uint16 {
-          range "50..60000";
+          range "1..max";
         }
         default "300";
           description
@@ -327,7 +374,7 @@ module frr-pim {
 
       leaf min-tx-interval {
         type uint16 {
-          range "50..60000";
+          range "1..max";
         }
         default "300";
         description
@@ -373,7 +420,7 @@ module frr-pim {
 
     leaf dr-priority {
       type uint32 {
-        range "1..4294967295";
+        range "1..max";
       }
       default 1;
       description
@@ -472,7 +519,7 @@ module frr-pim {
       "PIM router parameters.";
     leaf packets {
       type uint8 {
-        range "1..100";
+        range "1..max";
       }
       default "3";
       description
@@ -480,7 +527,7 @@ module frr-pim {
     }
     leaf join-prune-interval {
       type uint16 {
-        range "60..600";
+        range "1..max";
       }
       default "60";
       description
@@ -488,7 +535,7 @@ module frr-pim {
     }
     leaf register-suppress-time {
       type uint16 {
-        range "5..60000";
+        range "1..max";
       }
       default "60";
       description