summaryrefslogtreecommitdiffstats
path: root/yang
diff options
context:
space:
mode:
authorRuss White <russ@riw.us>2023-04-25 17:54:32 +0200
committerGitHub <noreply@github.com>2023-04-25 17:54:32 +0200
commit257fddaeb6b2d0d1fed40164ffd54fae04bcddda (patch)
tree68e0dc5d694b4e870de5c9e733c422ed9de9ca98 /yang
parentMerge pull request #13326 from opensourcerouting/feature/rip_topotest_distrib... (diff)
parentdoc: RIP BFD integration documentation (diff)
downloadfrr-257fddaeb6b2d0d1fed40164ffd54fae04bcddda.tar.xz
frr-257fddaeb6b2d0d1fed40164ffd54fae04bcddda.zip
Merge pull request #13246 from opensourcerouting/rip-bfd
ripd: support BFD integration
Diffstat (limited to 'yang')
-rw-r--r--yang/frr-ripd.yang27
1 files changed, 27 insertions, 0 deletions
diff --git a/yang/frr-ripd.yang b/yang/frr-ripd.yang
index d2088e589..a4bf50d95 100644
--- a/yang/frr-ripd.yang
+++ b/yang/frr-ripd.yang
@@ -13,6 +13,9 @@ module frr-ripd {
import frr-if-rmap {
prefix frr-if-rmap;
}
+ import frr-bfdd {
+ prefix frr-bfdd;
+ }
import frr-interface {
prefix frr-interface;
}
@@ -376,6 +379,12 @@ module frr-ripd {
}
}
+ leaf default-bfd-profile {
+ description
+ "Use this BFD profile for all peers by default.";
+ type frr-bfdd:profile-ref;
+ }
+
/*
* Operational data.
*/
@@ -678,6 +687,24 @@ module frr-ripd {
"Key-chain name.";
}
}
+
+ container bfd-monitoring {
+ presence
+ "Present if BFD is configured for RIP peers in this interface.";
+
+ leaf enable {
+ type boolean;
+ description
+ "Enable/disable BFD monitoring.";
+ default false;
+ }
+
+ leaf profile {
+ type frr-bfdd:profile-ref;
+ description
+ "BFD profile to use.";
+ }
+ }
}
}