From bd4299732dbc94447da19968ffb8fa90969e7183 Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Thu, 14 Aug 2025 17:09:47 +0200 Subject: [PATCH] =?UTF-8?q?leaf:=20don=E2=80=99t=20activate=20disabled=20i?= =?UTF-8?q?nterfaces=20in=20the=20EVPN=20family?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- roles/leaf/templates/frr.conf.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/leaf/templates/frr.conf.j2 b/roles/leaf/templates/frr.conf.j2 index a30748b..8349ee5 100644 --- a/roles/leaf/templates/frr.conf.j2 +++ b/roles/leaf/templates/frr.conf.j2 @@ -55,8 +55,8 @@ router bgp {{ asn.asn }} {% endfor %} address-family l2vpn evpn neighbor fabric activate -{% for iface in ifaces_evpn|default([]) %} - neighbor {{ iface }} activate +{% for iface in interfaces | selectattr('enabled') | selectattr('name', 'in', ifaces_evpn|default([])) %} + neighbor {{ iface.name }} activate {% endfor %} {% if peer is defined and interfaces | selectattr('mode') %} advertise-all-vni