summaryrefslogtreecommitdiff
path: root/data/templates
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-01-23 12:51:04 +0100
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2024-01-23 11:58:15 +0000
commit3347c72fd5d86df0fa5d63b557c66da3dc503241 (patch)
treea191540ad17fc60f9d3083df444a27bfc8ff6c4b /data/templates
parent280cb292d169dedf45ab231a0ae2d37ee1504dee (diff)
downloadvyos-1x-3347c72fd5d86df0fa5d63b557c66da3dc503241.tar.gz
vyos-1x-3347c72fd5d86df0fa5d63b557c66da3dc503241.zip
bfd: T5967: add minimum-ttl option
* set protocols bfd peer <x.x.x.x> minimum-ttl <1-254> * set protocols bfd profile <name> minimum-ttl <1-254> (cherry picked from commit 1f07dcbddfcfdbb9079936ec479c5633934dd547)
Diffstat (limited to 'data/templates')
-rw-r--r--data/templates/frr/bfdd.frr.j26
1 files changed, 6 insertions, 0 deletions
diff --git a/data/templates/frr/bfdd.frr.j2 b/data/templates/frr/bfdd.frr.j2
index c4adeb402..f3303e401 100644
--- a/data/templates/frr/bfdd.frr.j2
+++ b/data/templates/frr/bfdd.frr.j2
@@ -13,6 +13,9 @@ bfd
{% if profile_config.echo_mode is vyos_defined %}
echo-mode
{% endif %}
+{% if profile_config.minimum_ttl is vyos_defined %}
+ minimum-ttl {{ profile_config.minimum_ttl }}
+{% endif %}
{% if profile_config.passive is vyos_defined %}
passive-mode
{% endif %}
@@ -38,6 +41,9 @@ bfd
{% if peer_config.echo_mode is vyos_defined %}
echo-mode
{% endif %}
+{% if peer_config.minimum_ttl is vyos_defined %}
+ minimum-ttl {{ peer_config.minimum_ttl }}
+{% endif %}
{% if peer_config.passive is vyos_defined %}
passive-mode
{% endif %}