blob: 9df5f4637ac617728ab971575c549bfb022ef60d [file] [log] [blame]
Dennis Dmitrievf4826bc2017-09-28 19:03:54 +03001{#- 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
9 # {{ interfaces_role }}
10 {%- for interface_name, interface in interfaces.items() %}
11 {{ interface_name }}:
12 mtu: 9000
13 enabled: true
14 master: bond1 # ?
15 name: {{ interface_name }}
16 proto: manual
17 type: slave # ?
18 ipflush_onchange: true
19 {%- endfor %}
20 bond1:
21 enabled: true
22 mode: active-backup
23 ovs_bridge: br-floating
24 ovs_type: OVSPort
25 proto: manual
26 slaves: {{ ' '.join(interfaces.keys()) }}
27 type: bond
28 use_interfaces:
29 {%- for interface_name in interfaces.keys() %}
30 - {{ interface_name }}
31 {%- endfor %}
32 require_interfaces:
33 {%- for interface_name in interfaces.keys() %}
34 - {{ interface_name }}
35 {%- endfor %}
36 br-floating:
37 enabled: true
38 type: ovs_bridge