summaryrefslogtreecommitdiff
path: root/data/templates/frr/policy.frr.j2
diff options
context:
space:
mode:
authorfett0 <fernando.gmaidana@gmail.com>2022-11-13 17:05:00 +0000
committerfett0 <fernando.gmaidana@gmail.com>2022-11-13 17:05:00 +0000
commita8daba9549668c45abf33c55bc5e68f4b9320f5e (patch)
tree0039ffb91d4de95e0e836b7a2e93847fc435f6b4 /data/templates/frr/policy.frr.j2
parent61574eaf2d703e8084c8272e6976fd44abaea482 (diff)
downloadvyos-1x-a8daba9549668c45abf33c55bc5e68f4b9320f5e.tar.gz
vyos-1x-a8daba9549668c45abf33c55bc5e68f4b9320f5e.zip
l3VPN : T4182: add l3vpn over gre option from route-map
Diffstat (limited to 'data/templates/frr/policy.frr.j2')
-rw-r--r--data/templates/frr/policy.frr.j23
1 files changed, 3 insertions, 0 deletions
diff --git a/data/templates/frr/policy.frr.j2 b/data/templates/frr/policy.frr.j2
index 5ad4bd28c..9b5e80aed 100644
--- a/data/templates/frr/policy.frr.j2
+++ b/data/templates/frr/policy.frr.j2
@@ -322,6 +322,9 @@ route-map {{ route_map }} {{ rule_config.action }} {{ rule }}
{% if rule_config.set.ipv6_next_hop.prefer_global is vyos_defined %}
set ipv6 next-hop prefer-global
{% endif %}
+{% if rule_config.set.l3vpn_nexthop.encapsulation.gre is vyos_defined %}
+set l3vpn next-hop encapsulation gre
+{% endif %}
{% if rule_config.set.large_community.replace is vyos_defined %}
set large-community {{ rule_config.set.large_community.replace | join(' ') }}
{% endif %}