summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-03-14 12:50:15 +0100
committerGitHub <noreply@github.com>2023-03-14 12:50:15 +0100
commitc5ee06af8cb0b4485d08a2cf1d1e338c74b3fd85 (patch)
treee60c5a9392060a9e9cb92bd365d7f0303233b2a5 /data
parentc614e8cfd5c204d2568f25ffe7482f4feb2b9187 (diff)
parentadd5eaeecacb579a61f5cd5ef892fbf4655110d7 (diff)
downloadvyos-1x-c5ee06af8cb0b4485d08a2cf1d1e338c74b3fd85.tar.gz
vyos-1x-c5ee06af8cb0b4485d08a2cf1d1e338c74b3fd85.zip
Merge pull request #1888 from sever-sever/T5085
T5085: Fix ipv6 route-map for ospfv3
Diffstat (limited to 'data')
-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 %}
+!