frr: don’t BGP peer on disabled interfaces

This commit is contained in:
Timotej Lazar 2025-08-13 17:14:28 +02:00
parent 011a0852bb
commit 246178fa5d

View file

@ -16,7 +16,7 @@ router bgp {{ asn.asn }}
neighbor fabric remote-as external
neighbor fabric capability extended-nexthop
{% for iface in interfaces | selectattr('name', 'match', '^lan') %}
{% for iface in interfaces | selectattr('enabled') | selectattr('name', 'match', '^lan') %}
neighbor {{ iface.name }} interface peer-group fabric
{% endfor %}