sgudz | 75d1c7e | 2019-06-05 15:05:27 +0300 | [diff] [blame] | 1 | {#- Floating on a separated bond interfaces. For gateway nodes and computes with dvr #} |
| 2 | {#- Provides: #} |
| 3 | {#- br_floating (OVS bridge) #} |
| 4 | {#- Requirements: #} |
| 5 | {#- _param:?addr #} |
| 6 | {#- _param:?mask #} |
| 7 | {#- _param:?vlan #} |
| 8 | # {{ interfaces_role }} |
| 9 | {{- set_param('linux_network_bridge', 'openvswitch') }} |
| 10 | {%- for interface_name, interface in interfaces.items() %} |
| 11 | {{ interface_name }}: |
| 12 | mtu: 9000 |
| 13 | enabled: true |
| 14 | name: {{ interface_name }} |
| 15 | proto: manual |
| 16 | ovs_port_type: OVSPort |
| 17 | ovs_bridge: br-floating |
| 18 | type: ovs_port |
| 19 | bridge: br-floating |
| 20 | ipflush_onchange: true |
| 21 | restart_on_ipflush: true |
| 22 | {%- endfor %} |
| 23 | br-floating: |
| 24 | enabled: true |
| 25 | type: ovs_bridge |