diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-12-09 23:19:43 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-12-09 23:19:43 +0100 |
commit | 006b17a319c540a2fb384b90c65294f5a607787c (patch) | |
tree | bcf71d6eb6424ec4878955bef3ad8d4e4e377a95 /data/templates/frr | |
parent | e639b84e56a131e6391aa94adb1c1937f3c8dc60 (diff) | |
download | vyos-1x-006b17a319c540a2fb384b90c65294f5a607787c.tar.gz vyos-1x-006b17a319c540a2fb384b90c65294f5a607787c.zip |
bgp: T4058: add support for BFD profiles
Diffstat (limited to 'data/templates/frr')
-rw-r--r-- | data/templates/frr/bgpd.frr.tmpl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/data/templates/frr/bgpd.frr.tmpl b/data/templates/frr/bgpd.frr.tmpl index fbdbafd6e..a3c6431f6 100644 --- a/data/templates/frr/bgpd.frr.tmpl +++ b/data/templates/frr/bgpd.frr.tmpl @@ -17,6 +17,12 @@ {% endif %} {% if config.bfd is defined %} neighbor {{ neighbor }} bfd +{% if config.bfd.check_control_plane_failure is defined %} + neighbor {{ neighbor }} bfd check-control-plane-failure +{% endif %} +{% if config.bfd.profile is defined and config.bfd.profile is not none %} + neighbor {{ neighbor }} bfd profile {{ config.bfd.profile }} +{% endif %} {% endif %} {% if config.capability is defined and config.capability is not none %} {% if config.capability.dynamic is defined %} |