blob: 9ac7c735a92b228b46ea275497651ca846ed7023 [file] [log] [blame]
{#- Public network. For gateway nodes and computes with dvr #}
# {{ interfaces_role }}
{{- set_param('linux_network_bridge', 'openvswitch') }}
{%- set interface_name = interfaces.keys()[0] %}
{{ interface_name }}:
enabled: true
name: {{ interface_name }}
mtu: ${_param:interface_mtu}
proto: manual
type: eth
br-floating:
enabled: true
type: ovs_bridge
mtu: ${_param:interface_mtu}
float-to-ex:
enabled: true
type: ovs_port
mtu: ${_param:interface_mtu}
bridge: br-floating
br-ex:
enabled: true
type: bridge
mtu: ${_param:interface_mtu}
address: ${_param:external_address}
netmask: 255.255.255.0
use_interfaces:
- {{ interface_name }}
use_ovs_ports:
- float-to-ex