fabric: consolidate interface templates
Mostly to avoid special‐casing bond interfaces, and to support BGP connections over virtual interfaces.
This commit is contained in:
parent
5381fecaa4
commit
ce7c1bd49e
6 changed files with 28 additions and 40 deletions
|
@ -1,3 +1,3 @@
|
|||
{% for iface in interfaces | iface_real %}
|
||||
{% for iface in interfaces | selectattr('mac_address') %}
|
||||
{{ iface.name }} {{ iface.mac_address | lower }}
|
||||
{% endfor %}
|
Loading…
Add table
Add a link
Reference in a new issue