diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-11-14 07:01:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-14 07:01:09 +0100 |
commit | 4b8534e2f67f41931c3ff262c4fbbf4b43d7afcf (patch) | |
tree | 20ff8647bf42bd6e787f39e56499be95e4e8e9fd /data/templates | |
parent | 92b828154497c534ce82af16320ed34f0c15e51c (diff) | |
parent | 2a203e816f7cf3c6152e77277ec114b4767a06c7 (diff) | |
download | vyos-1x-4b8534e2f67f41931c3ff262c4fbbf4b43d7afcf.tar.gz vyos-1x-4b8534e2f67f41931c3ff262c4fbbf4b43d7afcf.zip |
Merge pull request #1655 from fett0/T4813
T4813: Add L3vpn over gre option from route-map
Diffstat (limited to 'data/templates')
-rw-r--r-- | data/templates/frr/policy.frr.j2 | 3 |
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 %} |