summaryrefslogtreecommitdiffstats
path: root/yang/frr-pim-candidate.yang
diff options
context:
space:
mode:
authorJafar Al-Gharaibeh <jafar@atcorp.com>2024-07-26 16:57:44 +0200
committerJafar Al-Gharaibeh <jafar@atcorp.com>2024-09-09 20:27:49 +0200
commit2d0812373c3c5b3a46eee8f2a344fb0363e953e0 (patch)
treea6f611e8e1ec96d1e063cb4e515c6c0def5a88e5 /yang/frr-pim-candidate.yang
parentpimd: Candidate-RP support (diff)
downloadfrr-2d0812373c3c5b3a46eee8f2a344fb0363e953e0.tar.xz
frr-2d0812373c3c5b3a46eee8f2a344fb0363e953e0.zip
pimd: Candidate-BSR support
Signed-off-by: David Lamparter <equinox@opensourcerouting.org> Signed-off-by: Jafar Al-Gharaibeh <jafar@atcorp.com>
Diffstat (limited to '')
-rw-r--r--yang/frr-pim-candidate.yang38
1 files changed, 38 insertions, 0 deletions
diff --git a/yang/frr-pim-candidate.yang b/yang/frr-pim-candidate.yang
index 035343edd..09d0a0635 100644
--- a/yang/frr-pim-candidate.yang
+++ b/yang/frr-pim-candidate.yang
@@ -71,6 +71,43 @@ module frr-pim-candidate {
/*
* Groupings
*/
+ grouping candidate-bsr-container {
+ description
+ "Grouping of Candidate BSR settings.";
+
+ container candidate-bsr {
+ presence
+ "Enable router to be a Candidate BSR.";
+
+ description
+ "Candidate BSR settings";
+
+ leaf bsr-priority {
+ type uint8;
+ default "64";
+ description
+ "BSR priority for this router, higher values win.";
+ }
+
+ choice source-address-or-interface {
+ description "IP address to use for BSR operation";
+ default if-loopback;
+ leaf address {
+ type inet:ip-address;
+ }
+ leaf interface {
+ type frr-interface:interface-ref;
+ }
+ leaf if-loopback {
+ type empty;
+ }
+ leaf if-any {
+ type empty;
+ }
+ }
+ } // candidate-bsr
+ } // candidate-bsr-container
+
grouping candidate-rp-container {
description
"Grouping of Candidate RP settings.";
@@ -131,6 +168,7 @@ module frr-pim-candidate {
+ "frr-pim:address-family" {
description "PIM Candidate RP augmentation.";
+ uses candidate-bsr-container;
uses candidate-rp-container;
}
}