From add5eaeecacb579a61f5cd5ef892fbf4655110d7 Mon Sep 17 00:00:00 2001 From: Viacheslav Hletenko Date: Tue, 14 Mar 2023 11:12:04 +0000 Subject: T5085: Fix ipv6 route-map for ospfv3 Add template to generate zebra "ipv6 protocol ospf6 route-map xxx" --- data/templates/frr/vrf.route-map.v6.frr.j2 | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 data/templates/frr/vrf.route-map.v6.frr.j2 (limited to 'data') 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 %} +! -- cgit v1.2.3