From d789e4a037c6cbc17d92baa9571a0cc61db7da25 Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Mon, 11 Dec 2023 21:09:34 +0100 Subject: [PATCH] =?UTF-8?q?leaf:=20don=E2=80=99t=20talk=20BGP=20at=20bridg?= =?UTF-8?q?es=20and=20bonds?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- roles/leaf/templates/frr.conf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/leaf/templates/frr.conf.j2 b/roles/leaf/templates/frr.conf.j2 index 2e9f980..d6c4b0f 100644 --- a/roles/leaf/templates/frr.conf.j2 +++ b/roles/leaf/templates/frr.conf.j2 @@ -5,7 +5,7 @@ | map(attribute='address') %} {% set iface_bgp = interfaces | iface_real | selectattr('enabled') - | rejectattr('mgmt_only') | rejectattr('lag') %} + | rejectattr('mgmt_only') | rejectattr('bridge') | rejectattr('lag') %} {% set iface_server = iface_bgp | selectattr('custom_fields.tenant') %} {% set iface_fabric = iface_bgp | difference(iface_server) | rejectattr('ip_addresses') %} {% set my_tenants = iface_server | map(attribute='custom_fields.tenant.slug') | unique -%}