summaryrefslogtreecommitdiff
path: root/data/templates/frr/evpn.mh.frr.j2
blob: 2fd7b7c09b8856b6821a535feeeb5a2d6173408f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
!
{% if interfaces is vyos_defined %}
{%     for if_name, if_config in interfaces.items() %}
interface {{ if_name }}
{%         if if_config.evpn.es_df_pref is vyos_defined %}
 evpn mh es-df-pref {{ if_config.evpn.es_df_pref }}
{%         endif %}
{%         if if_config.evpn.es_id is vyos_defined %}
 evpn mh es-id {{ if_config.evpn.es_id }}
{%         endif %}
{%         if if_config.evpn.es_sys_mac is vyos_defined %}
 evpn mh es-sys-mac {{ if_config.evpn.es_sys_mac }}
{%         endif %}
{%         if if_config.evpn.uplink is vyos_defined %}
 evpn mh uplink
{%         endif %}
exit
!
{%     endfor %}
{% endif %}