summaryrefslogtreecommitdiff
path: root/data/templates
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-02-13 17:32:59 +0100
committerGitHub <noreply@github.com>2024-02-13 17:32:59 +0100
commit7ca76b72e2639b3d5774c65dc250d00f0fbdf65b (patch)
tree7df91e15fe13a99da23ad11f0da021897549956d /data/templates
parent0732e89d561ff9606fa1b91e718d3243bdfa3ff7 (diff)
parentf308df322bd62024e29dd458642cb6bcac8a5ad6 (diff)
downloadvyos-1x-7ca76b72e2639b3d5774c65dc250d00f0fbdf65b.tar.gz
vyos-1x-7ca76b72e2639b3d5774c65dc250d00f0fbdf65b.zip
Merge pull request #2987 from c-po/evpn-macvrf-soo
bgp: T6032: add EVPN MAC-VRF Site-of-Origin support
Diffstat (limited to 'data/templates')
-rw-r--r--data/templates/frr/bgpd.frr.j25
1 files changed, 4 insertions, 1 deletions
diff --git a/data/templates/frr/bgpd.frr.j2 b/data/templates/frr/bgpd.frr.j2
index ed55db3f2..e9422b257 100644
--- a/data/templates/frr/bgpd.frr.j2
+++ b/data/templates/frr/bgpd.frr.j2
@@ -390,7 +390,7 @@ router bgp {{ system_as }} {{ 'vrf ' ~ vrf if vrf is vyos_defined }}
{% endif %}
{% if afi_config.ead_es_route_target.export is vyos_defined %}
{% for route_target in afi_config.ead_es_route_target.export %}
- ead-es-route-target export {{ route_target }}
+ ead-es-route-target export {{ route_target }}
{% endfor %}
{% endif %}
{% if afi_config.rt_auto_derive is vyos_defined %}
@@ -402,6 +402,9 @@ router bgp {{ system_as }} {{ 'vrf ' ~ vrf if vrf is vyos_defined }}
{% if afi_config.flooding.head_end_replication is vyos_defined %}
flooding head-end-replication
{% endif %}
+{% if afi_config.mac_vrf.soo is vyos_defined %}
+ mac-vrf soo {{ afi_config.mac_vrf.soo }}
+{% endif %}
{% if afi_config.nexthop.vpn.export is vyos_defined %}
nexthop vpn export {{ afi_config.nexthop.vpn.export }}
{% endif %}