blob: c60a4a594b46ab0ae1dc2c8a2bfeb244fd55dd58 [file] [log] [blame]
Oleksii Butenko9e1c1372019-10-23 17:04:02 +03001
2{#- pxe network with bond. For control plane bmt nodes #}
3{#- Provides: #}
4 # {{ interfaces_role }}
5 {{- set_param('linux_network_bridge', 'openvswitch') }}
6 {%- for interface_name, interface in interfaces.items() %}
7 {{ interface_name }}:
8 mtu: 9000
9 enabled: true
10 master: bond1
11 name: {{ interface_name }}
12 proto: manual
13 type: slave
14 ipflush_onchange: true
15 {%- endfor %}
16 bond1:
17 enabled: true
18 mode: '802.3ad'
19 proto: manual
20 slaves: {{ ' '.join(interfaces.keys()) }}
21 type: bond
22 use_interfaces:
23 {%- for interface_name in interfaces.keys() %}
24 - {{ interface_name }}
25 {%- endfor %}
26 require_interfaces:
27 {%- for interface_name in interfaces.keys() %}
28 - {{ interface_name }}
29 {%- endfor %}
30 br_baremetal:
31 enabled: true
32 proto: manual
33 type: bridge
34 use_interfaces:
35 - bond1.2402
36 require_interfaces:
37 - bond1.2402
38 bond1.2402:
39 name: bond1.2402
40 enabled: true
41 proto: manual
42 type: vlan
43 use_interfaces:
44 - bond1
45 require_interfaces:
46 - bond1