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