summaryrefslogtreecommitdiff
path: root/data/templates
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-01-23 12:51:04 +0100
committerChristian Breunig <christian@breunig.cc>2024-01-23 12:51:04 +0100
commit1f07dcbddfcfdbb9079936ec479c5633934dd547 (patch)
tree62e3ec2eebe3d7b909e7bdd3151fbbbe42e723a7 /data/templates
parent20106f2e827ecfa9dc347d102fe809c736d17a48 (diff)
downloadvyos-1x-1f07dcbddfcfdbb9079936ec479c5633934dd547.tar.gz
vyos-1x-1f07dcbddfcfdbb9079936ec479c5633934dd547.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>
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 %}