From de358823331fffcedf433d66a065f2dae1052596 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Tue, 20 Apr 2021 07:20:26 +0200 Subject: Revert "T2175: properly exist FRR "router" context when rendering templates" This reverts commit 619c518bfc904b060b5b59180940a804fe1beafd. --- data/templates/frr/bgp.frr.tmpl | 1 - data/templates/frr/isis.frr.tmpl | 1 - data/templates/frr/ospf.frr.tmpl | 1 - data/templates/frr/ospfv3.frr.tmpl | 1 - data/templates/frr/rip.frr.tmpl | 1 - data/templates/frr/ripng.frr.tmpl | 1 - 6 files changed, 6 deletions(-) (limited to 'data') 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 ! -- cgit v1.2.3