Initial commit, squashed
This commit is contained in:
commit
158e8740b8
83 changed files with 2718 additions and 0 deletions
12
roles/fabric/templates/switch.intf.j2
Normal file
12
roles/fabric/templates/switch.intf.j2
Normal file
|
@ -0,0 +1,12 @@
|
|||
{% for iface in interfaces | iface_real | rejectattr('mgmt_only') | selectattr('enabled') %}
|
||||
auto {{ iface.name }}
|
||||
iface {{ iface.name }}
|
||||
{% if iface.vrf %}
|
||||
vrf {{ iface.vrf.name }}
|
||||
{% endif %}
|
||||
mtu {{ iface.mtu if iface.mtu else 9216 }}
|
||||
{% for addr in iface.ip_addresses %}
|
||||
address {{ addr.address }}
|
||||
{% endfor %}
|
||||
|
||||
{% endfor %}
|
Loading…
Add table
Add a link
Reference in a new issue