Pavel Petrov | 2b116a2 | 2017-10-18 22:27:01 +0300 | [diff] [blame] | 1 | {#- 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 |