diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2023-03-14 11:12:04 +0000 |
---|---|---|
committer | Viacheslav Hletenko <v.gletenko@vyos.io> | 2023-03-14 11:12:04 +0000 |
commit | add5eaeecacb579a61f5cd5ef892fbf4655110d7 (patch) | |
tree | e60c5a9392060a9e9cb92bd365d7f0303233b2a5 /data/templates/frr/vrf.route-map.v6.frr.j2 | |
parent | c614e8cfd5c204d2568f25ffe7482f4feb2b9187 (diff) | |
download | vyos-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/vrf.route-map.v6.frr.j2')
-rw-r--r-- | data/templates/frr/vrf.route-map.v6.frr.j2 | 10 |
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 %} +! |