fabric: consolidate interface templates

Mostly to avoid special‐casing bond interfaces, and to support BGP
connections over virtual interfaces.
This commit is contained in:
Timotej Lazar 2024-02-27 10:59:06 +01:00
parent 5381fecaa4
commit ce7c1bd49e
6 changed files with 28 additions and 40 deletions

View file

@ -1,3 +1,3 @@
{% for iface in interfaces | iface_real %}
{% for iface in interfaces | selectattr('mac_address') %}
{{ iface.name }} {{ iface.mac_address | lower }}
{% endfor %}