summaryrefslogtreecommitdiff
path: root/data/templates/frr
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2023-03-14 11:12:04 +0000
committerViacheslav Hletenko <v.gletenko@vyos.io>2023-03-14 11:12:04 +0000
commitadd5eaeecacb579a61f5cd5ef892fbf4655110d7 (patch)
treee60c5a9392060a9e9cb92bd365d7f0303233b2a5 /data/templates/frr
parentc614e8cfd5c204d2568f25ffe7482f4feb2b9187 (diff)
downloadvyos-1x-add5eaeecacb579a61f5cd5ef892fbf4655110d7.tar.gz
vyos-1x-add5eaeecacb579a61f5cd5ef892fbf4655110d7.zip
T5085: Fix ipv6 route-map for ospfv3
Add template to generate zebra "ipv6 protocol ospf6 route-map xxx"
Diffstat (limited to 'data/templates/frr')
-rw-r--r--data/templates/frr/vrf.route-map.v6.frr.j210
1 files changed, 10 insertions, 0 deletions
diff --git a/data/templates/frr/vrf.route-map.v6.frr.j2 b/data/templates/frr/vrf.route-map.v6.frr.j2
new file mode 100644
index 000000000..7dc59a046
--- /dev/null
+++ b/data/templates/frr/vrf.route-map.v6.frr.j2
@@ -0,0 +1,10 @@
+!
+{% if vrf is vyos_defined and route_map is vyos_defined %}
+vrf {{ vrf }}
+ ipv6 protocol {{ protocol }} route-map {{ route_map }}
+ exit-vrf
+!
+{% elif route_map is vyos_defined %}
+ipv6 protocol {{ protocol }} route-map {{ route_map }}
+{% endif %}
+!