summaryrefslogtreecommitdiff
path: root/data/templates
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2024-02-13 16:36:04 +0000
committerGitHub <noreply@github.com>2024-02-13 16:36:04 +0000
commit70b08b1f6117ac7c3870f5081f110b726e5c98be (patch)
treed194c0444ab2c5ba80a05a47164298b5f21d7691 /data/templates
parent6f64847213a01f125147aa2e7193951caad83f35 (diff)
parentaf90428a276c1dc4f40640a22f970e3695ac35a0 (diff)
downloadvyos-1x-70b08b1f6117ac7c3870f5081f110b726e5c98be.tar.gz
vyos-1x-70b08b1f6117ac7c3870f5081f110b726e5c98be.zip
Merge pull request #3001 from vyos/mergify/bp/sagitta/pr-2987
bgp: T6032: add EVPN MAC-VRF Site-of-Origin support (backport #2987)
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 %}