summaryrefslogtreecommitdiff
path: root/data/templates/frr
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-11-27 10:32:01 +0100
committerChristian Poessinger <christian@poessinger.com>2021-11-27 10:32:01 +0100
commit262fec8868d09d7cdd1f939a9ec0c74ba0ecc7c5 (patch)
tree82a235dcc76b12d9d4a760f3fe63a9000ade44c3 /data/templates/frr
parent32725123a2e98f3f417a94e4646721e97be1eaca (diff)
downloadvyos-1x-262fec8868d09d7cdd1f939a9ec0c74ba0ecc7c5.tar.gz
vyos-1x-262fec8868d09d7cdd1f939a9ec0c74ba0ecc7c5.zip
ospf: T3753: adjust to new FRR 8.1 syntax
Every node in running config now has an explicit "exit" tag
Diffstat (limited to 'data/templates/frr')
-rw-r--r--data/templates/frr/ospfd.frr.tmpl2
1 files changed, 2 insertions, 0 deletions
diff --git a/data/templates/frr/ospfd.frr.tmpl b/data/templates/frr/ospfd.frr.tmpl
index 37d6f394b..a7b770f07 100644
--- a/data/templates/frr/ospfd.frr.tmpl
+++ b/data/templates/frr/ospfd.frr.tmpl
@@ -52,6 +52,7 @@ interface {{ iface }} {{ 'vrf ' + vrf if vrf is defined and vrf is not none }}
{% if iface_config.passive is defined %}
{{ 'no ' if iface_config.passive.disable is defined }}ip ospf passive
{% endif %}
+exit
!
{% endfor %}
{% endif %}
@@ -182,4 +183,5 @@ router ospf {{ 'vrf ' + vrf if vrf is defined and vrf is not none }}
{# Timer values have default values #}
timers throttle spf {{ timers.throttle.spf.delay }} {{ timers.throttle.spf.initial_holdtime }} {{ timers.throttle.spf.max_holdtime }}
{% endif %}
+exit
!