summaryrefslogtreecommitdiff
path: root/data/templates/frr
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-04-20 07:20:26 +0200
committerChristian Poessinger <christian@poessinger.com>2021-04-20 07:20:26 +0200
commitde358823331fffcedf433d66a065f2dae1052596 (patch)
tree661f004ef3b11fec936a96628a3562b48f6c2807 /data/templates/frr
parente2f17d332436e434ac72187557b0534c4f39c6f6 (diff)
downloadvyos-1x-de358823331fffcedf433d66a065f2dae1052596.tar.gz
vyos-1x-de358823331fffcedf433d66a065f2dae1052596.zip
Revert "T2175: properly exist FRR "router" context when rendering templates"
This reverts commit 619c518bfc904b060b5b59180940a804fe1beafd.
Diffstat (limited to 'data/templates/frr')
-rw-r--r--data/templates/frr/bgp.frr.tmpl1
-rw-r--r--data/templates/frr/isis.frr.tmpl1
-rw-r--r--data/templates/frr/ospf.frr.tmpl1
-rw-r--r--data/templates/frr/ospfv3.frr.tmpl1
-rw-r--r--data/templates/frr/rip.frr.tmpl1
-rw-r--r--data/templates/frr/ripng.frr.tmpl1
6 files changed, 0 insertions, 6 deletions
diff --git a/data/templates/frr/bgp.frr.tmpl b/data/templates/frr/bgp.frr.tmpl
index cc7f79a6c..dafe45f59 100644
--- a/data/templates/frr/bgp.frr.tmpl
+++ b/data/templates/frr/bgp.frr.tmpl
@@ -459,7 +459,6 @@ router bgp {{ local_as }} {{ 'vrf ' + vrf if vrf is defined and vrf is not none
{% if timers is defined and timers.keepalive is defined and timers.holdtime is defined %}
timers bgp {{ timers.keepalive }} {{ timers.holdtime }}
{% endif %}
- exit
!
{% if route_map is defined and route_map is not none %}
ip protocol bgp route-map {{ route_map }}
diff --git a/data/templates/frr/isis.frr.tmpl b/data/templates/frr/isis.frr.tmpl
index 46400664f..c8e11399e 100644
--- a/data/templates/frr/isis.frr.tmpl
+++ b/data/templates/frr/isis.frr.tmpl
@@ -173,7 +173,6 @@ interface {{ iface }} {{ 'vrf ' + vrf if vrf is defined and vrf is not none }}
{% endif %}
{% endfor %}
{% endif %}
- exit
!
{% if route_map is defined and route_map is not none %}
ip protocol isis route-map {{ route_map }}
diff --git a/data/templates/frr/ospf.frr.tmpl b/data/templates/frr/ospf.frr.tmpl
index fd2082d5c..a47c64c89 100644
--- a/data/templates/frr/ospf.frr.tmpl
+++ b/data/templates/frr/ospf.frr.tmpl
@@ -176,7 +176,6 @@ 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
!
{% if route_map is defined and route_map is not none %}
ip protocol ospf route-map {{ route_map }}
diff --git a/data/templates/frr/ospfv3.frr.tmpl b/data/templates/frr/ospfv3.frr.tmpl
index 34b22a3e3..d08972a80 100644
--- a/data/templates/frr/ospfv3.frr.tmpl
+++ b/data/templates/frr/ospfv3.frr.tmpl
@@ -81,5 +81,4 @@ router ospf6
redistribute {{ protocol }} {{ 'route-map ' + options.route_map if options.route_map is defined }}
{% endfor %}
{% endif %}
- exit
!
diff --git a/data/templates/frr/rip.frr.tmpl b/data/templates/frr/rip.frr.tmpl
index 748dfb126..cabc236f0 100644
--- a/data/templates/frr/rip.frr.tmpl
+++ b/data/templates/frr/rip.frr.tmpl
@@ -89,7 +89,6 @@ router rip
{% endif %}
{% endif %}
{% include 'frr/rip_ripng.frr.j2' %}
- exit
!
{% if route_map is defined and route_map is not none %}
ip protocol rip route-map {{ route_map }}
diff --git a/data/templates/frr/ripng.frr.tmpl b/data/templates/frr/ripng.frr.tmpl
index c92946bb3..25df15121 100644
--- a/data/templates/frr/ripng.frr.tmpl
+++ b/data/templates/frr/ripng.frr.tmpl
@@ -57,5 +57,4 @@ router ripng
{% endif %}
{% endif %}
{% include 'frr/rip_ripng.frr.j2' %}
- exit
!