blob: 644186e35182de270a93ec5de6ea493f401ffa4c [file] [log] [blame]
Pavel Petrov2b116a22017-10-18 22:27:01 +03001{#- Public network. For gateway nodes and computes with dvr #}
2 # {{ interfaces_role }}
3 {%- set interface_name = interfaces.keys()[0] %}
4 {{ interface_name }}:
5 enabled: true
6 name: {{ interface_name }}
7 mtu: ${_param:interface_mtu}
8 proto: manual
9 type: eth
10 br-floating:
11 enabled: true
12 type: ovs_bridge
13 mtu: ${_param:interface_mtu}
14 float-to-ex:
15 enabled: true
16 type: ovs_port
17 mtu: ${_param:interface_mtu}
18 bridge: br-floating
19 br-ex:
20 enabled: true
21 type: bridge
22 mtu: ${_param:interface_mtu}
23 address: ${_param:external_address}
24 netmask: 255.255.255.0
25 use_interfaces:
26 - {{ interface_name }}
27 use_ovs_ports:
28 - float-to-ex