diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-11-27 10:32:02 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-11-27 10:32:02 +0100 |
commit | d1daf8e3c8a22e773ed0800ba2d9585a151ccb86 (patch) | |
tree | 2bcad9d9969d5178fc947f5d91806444554f0ea0 /data/templates/frr/ripd.frr.tmpl | |
parent | f20c589da12810d5202b8f6eae262178467b60a4 (diff) | |
download | vyos-1x-d1daf8e3c8a22e773ed0800ba2d9585a151ccb86.tar.gz vyos-1x-d1daf8e3c8a22e773ed0800ba2d9585a151ccb86.zip |
rip: T3753: adjust to new FRR 8.1 syntax
Diffstat (limited to 'data/templates/frr/ripd.frr.tmpl')
-rw-r--r-- | data/templates/frr/ripd.frr.tmpl | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/data/templates/frr/ripd.frr.tmpl b/data/templates/frr/ripd.frr.tmpl index cabc236f0..c44bb6d27 100644 --- a/data/templates/frr/ripd.frr.tmpl +++ b/data/templates/frr/ripd.frr.tmpl @@ -1,4 +1,3 @@ -! {# RIP key-chain definition #} {% if interface is defined and interface is not none %} {% for iface, iface_config in interface.items() %} @@ -9,7 +8,9 @@ key chain {{ iface }}-rip {% if key_options.password is defined and key_options.password is not none %} key-string {{ key_options.password }} {% endif %} + exit {% endfor %} +exit {% endif %} {% endfor %} {% endif %} @@ -31,6 +32,8 @@ interface {{ iface }} {% if iface_config.split_horizon is defined and iface_config.split_horizon.poison_reverse is defined %} ip rip split-horizon poisoned-reverse {% endif %} +exit +! {% endfor %} {% endif %} ! @@ -89,6 +92,7 @@ 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 }} |