network/roles/firewall/templates/mactab.j2
Timotej Lazar ce7c1bd49e fabric: consolidate interface templates
Mostly to avoid special‐casing bond interfaces, and to support BGP
connections over virtual interfaces.
2024-02-27 13:35:29 +01:00

3 lines
119 B
Django/Jinja

{% for iface in interfaces | selectattr('mac_address') %}
{{ iface.name }} {{ iface.mac_address | lower }}
{% endfor %}