| |
| {#- pxe network with bond. For control plane bmt nodes #} |
| {#- Provides: #} |
| # {{ interfaces_role }} |
| {{- set_param('linux_network_bridge', 'openvswitch') }} |
| {%- for interface_name, interface in interfaces.items() %} |
| {{ interface_name }}: |
| mtu: 9000 |
| enabled: true |
| master: bond1 |
| name: {{ interface_name }} |
| proto: manual |
| type: slave |
| ipflush_onchange: true |
| {%- endfor %} |
| bond1: |
| enabled: true |
| mode: '802.3ad' |
| proto: manual |
| slaves: {{ ' '.join(interfaces.keys()) }} |
| type: bond |
| use_interfaces: |
| {%- for interface_name in interfaces.keys() %} |
| - {{ interface_name }} |
| {%- endfor %} |
| require_interfaces: |
| {%- for interface_name in interfaces.keys() %} |
| - {{ interface_name }} |
| {%- endfor %} |
| br_baremetal: |
| enabled: true |
| proto: manual |
| type: bridge |
| use_interfaces: |
| - bond1.2402 |
| require_interfaces: |
| - bond1.2402 |
| bond1.2402: |
| name: bond1.2402 |
| enabled: true |
| proto: manual |
| type: vlan |
| use_interfaces: |
| - bond1 |
| require_interfaces: |
| - bond1 |