summaryrefslogtreecommitdiffstats
path: root/pimd/pim_nb.c
diff options
context:
space:
mode:
authorRafael Zalamena <rzalamena@opensourcerouting.org>2021-04-13 16:07:01 +0200
committerRafael Zalamena <rzalamena@opensourcerouting.org>2021-04-23 14:29:00 +0200
commit745b8d4a68c112cbcf371d73f81b7ce7c3921b4d (patch)
tree523bfa2a5e44385fc751f88f22f3216910271252 /pimd/pim_nb.c
parentyang: add PIM BFD profile support (diff)
downloadfrr-745b8d4a68c112cbcf371d73f81b7ce7c3921b4d.tar.xz
frr-745b8d4a68c112cbcf371d73f81b7ce7c3921b4d.zip
pimd: support BFD profiles configuration
Allow users to pre configure BFD sessions with a profile. Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
Diffstat (limited to 'pimd/pim_nb.c')
-rw-r--r--pimd/pim_nb.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/pimd/pim_nb.c b/pimd/pim_nb.c
index 8ca0e0780..37c539883 100644
--- a/pimd/pim_nb.c
+++ b/pimd/pim_nb.c
@@ -259,6 +259,13 @@ const struct frr_yang_module_info frr_pim_info = {
}
},
{
+ .xpath = "/frr-interface:lib/interface/frr-pim:pim/bfd/profile",
+ .cbs = {
+ .modify = lib_interface_pim_bfd_profile_modify,
+ .destroy = lib_interface_pim_bfd_profile_destroy,
+ }
+ },
+ {
.xpath = "/frr-interface:lib/interface/frr-pim:pim/bsm",
.cbs = {
.modify = lib_interface_pim_bsm_modify,