From 67aea150fe53790610eae87e63791d8b88fb68cf Mon Sep 17 00:00:00 2001 From: Rafael Zalamena Date: Tue, 20 Apr 2021 16:17:19 -0300 Subject: yang: add MSDP timer configuration Allow users to configure global MSDP timers. Signed-off-by: Rafael Zalamena --- yang/frr-pim.yang | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) (limited to 'yang') diff --git a/yang/frr-pim.yang b/yang/frr-pim.yang index 922ee5d10..6329e4558 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 -- cgit v1.2.3