summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-02-02 22:57:49 +0100
committerChristian Poessinger <christian@poessinger.com>2021-02-02 22:57:49 +0100
commitc9e1a3b357f2e145a85ff4f7e92ee680937561a3 (patch)
tree7f7460e65300618c6dde1834654a837826413cba /data
parentccd516b4d10c518ea445928c01d6c7dc2770777b (diff)
downloadvyos-1x-c9e1a3b357f2e145a85ff4f7e92ee680937561a3.tar.gz
vyos-1x-c9e1a3b357f2e145a85ff4f7e92ee680937561a3.zip
ospf: T3263: support hello sub-second timer
Added "set protocols ospf interface eth1 hello-multiplier <n>" CLI command. This is mutually exclusive to "set protocols ospf interface eth1 dead-interval <n>".
Diffstat (limited to 'data')
-rw-r--r--data/templates/frr/ospf.frr.tmpl3
1 files changed, 3 insertions, 0 deletions
diff --git a/data/templates/frr/ospf.frr.tmpl b/data/templates/frr/ospf.frr.tmpl
index 37c21e146..7ca69eee6 100644
--- a/data/templates/frr/ospf.frr.tmpl
+++ b/data/templates/frr/ospf.frr.tmpl
@@ -31,6 +31,8 @@ interface {{ iface }}
{% endif %}
{% if iface_config.dead_interval is defined and iface_config.dead_interval is not none %}
ip ospf dead-interval {{ iface_config.dead_interval }}
+{% elif iface_config.hello_multiplier is defined and iface_config.hello_multiplier is not none %}
+ ip ospf dead-interval minimal hello-multiplier {{ iface_config.hello_multiplier }}
{% endif %}
{% if iface_config.bfd is defined %}
ip ospf bfd
@@ -44,6 +46,7 @@ interface {{ iface }}
{% if iface_config.bandwidth is defined and iface_config.bandwidth is not none %}
bandwidth {{ iface_config.bandwidth }}
{% endif %}
+!
{% endfor %}
{% endif %}
!