playbooks/compute/templates/interface-base-dell.j2

45 lines
868 B
Plaintext
Raw Permalink Normal View History

#
# This file is managed by Ansible, do not edit manually.
#
# loopback network interface
auto lo
iface lo inet loopback
# 1g rj45 network interfaces
iface eno1 inet manual
iface eno2 inet manual
# 10g rg45 network interfaces
iface eno3 inet manual
iface eno4 inet manual
# 10g sfp+ network interfaces
iface ens2f0 inet manual
iface ens2f1 inet manual
# 20g bond interfaces
auto bond10
iface bond10 inet manual
bond-slaves ens2f0 ens2f1
bond-miimon 100
bond-mode 802.3ad
# 4g bond interfaces
auto bond1
iface bond1 inet manual
bond-slaves eno1 eno2 eno3 eno4
bond-miimon 100
bond-mode 802.3ad
# bond subinterfaces
{% for vlan_id, vlan_name in vlans.items() %}
auto bond10.{{ vlan_id }}
iface bond10.{{ vlan_id }} inet manual
vlan-raw-device bond10
auto bond1.{{ vlan_id }}
iface bond1.{{ vlan_id }} inet manual
vlan-raw-device bond1
{% endfor %}