diff options
| author | Rafael Zalamena <rzalamena@opensourcerouting.org> | 2021-04-20 16:17:19 -0300 | 
|---|---|---|
| committer | Rafael Zalamena <rzalamena@opensourcerouting.org> | 2021-07-01 08:40:09 -0300 | 
| commit | 67aea150fe53790610eae87e63791d8b88fb68cf (patch) | |
| tree | 3053543d6304a0865230400a2202625393a96c1d /yang/frr-pim.yang | |
| parent | 70ec4ea3885e84457b0511a31d82c8782613e809 (diff) | |
yang: add MSDP timer configuration
Allow users to configure global MSDP timers.
Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
Diffstat (limited to 'yang/frr-pim.yang')
| -rw-r--r-- | yang/frr-pim.yang | 49 | 
1 files changed, 49 insertions, 0 deletions
diff --git a/yang/frr-pim.yang b/yang/frr-pim.yang index 922ee5d105..6329e45588 100644 --- a/yang/frr-pim.yang +++ b/yang/frr-pim.yang @@ -113,6 +113,49 @@ module frr-pim {          "RP keep alive Timer in seconds.";      }    } + +  grouping msdp-timers { +    leaf hold-time { +      type uint32 { +        range 3..600; +      } +      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 needs to be greater than `keep-alive-period`."; +    } + +    leaf keep-alive { +      type uint32 { +        range 2..600; +      } +      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 needs to be lesser than `hold-time-period`."; +    } + +    leaf connection-retry { +      type uint32 { +        range 1..600; +      } +      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 +217,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  | 
