summaryrefslogtreecommitdiffstats
path: root/yang
diff options
context:
space:
mode:
authorRafael Zalamena <rzalamena@opensourcerouting.org>2021-04-20 21:17:19 +0200
committerRafael Zalamena <rzalamena@opensourcerouting.org>2021-07-01 13:40:09 +0200
commit67aea150fe53790610eae87e63791d8b88fb68cf (patch)
tree3053543d6304a0865230400a2202625393a96c1d /yang
parentMerge pull request #8871 from opensourcerouting/msdp-peer-rework (diff)
downloadfrr-67aea150fe53790610eae87e63791d8b88fb68cf.tar.xz
frr-67aea150fe53790610eae87e63791d8b88fb68cf.zip
yang: add MSDP timer configuration
Allow users to configure global MSDP timers. Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
Diffstat (limited to 'yang')
-rw-r--r--yang/frr-pim.yang49
1 files changed, 49 insertions, 0 deletions
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