summaryrefslogtreecommitdiff
path: root/yang/frr-pim.yang
diff options
context:
space:
mode:
authorRafael Zalamena <rzalamena@opensourcerouting.org>2021-04-22 15:07:20 -0300
committerRafael Zalamena <rzalamena@opensourcerouting.org>2021-06-25 15:06:20 -0300
commit36df8a84f765cd7beaef60053c284167697f06f0 (patch)
tree7899b1e1de677878130d28dc0843616a20955a00 /yang/frr-pim.yang
parent065549df1353da827d7340476d3e0c121a999fdc (diff)
yang: simplify MSDP peer handling
Make the source address mandatory since it doesn't work without it. The CLI already mandated it before so it makes sense to change this here as well. Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
Diffstat (limited to 'yang/frr-pim.yang')
-rw-r--r--yang/frr-pim.yang1
1 files changed, 1 insertions, 0 deletions
diff --git a/yang/frr-pim.yang b/yang/frr-pim.yang
index 4c4819ac25..922ee5d105 100644
--- a/yang/frr-pim.yang
+++ b/yang/frr-pim.yang
@@ -219,6 +219,7 @@ module frr-pim {
}
leaf source-ip {
+ mandatory true;
type inet:ip-address;
description
"MSDP source IP address.";