blob: d3991f10099b41cea86a052c78636a080f9a9630 [file] [log] [blame]
Pavel Petrov2b116a22017-10-18 22:27:01 +03001{#- Tenant over VLAN. For computes with dedicated physical interface for tenant networks. #}
2 # {{ interfaces_role }}
Dennis Dmitriev600e6ee2018-02-20 03:55:49 +02003 {{- set_param('linux_network_bridge', 'openvswitch') }}
Pavel Petrov2b116a22017-10-18 22:27:01 +03004 {%- set interface_name = interfaces.keys()[0] %}
Dennis Dmitrieve56f3022018-03-22 20:14:59 +02005 {%- set interface = interfaces[interface_name] %}
Pavel Petrov2b116a22017-10-18 22:27:01 +03006 {{ interface_name }}:
7 enabled: true
8 name: {{ interface_name }}
Dennis Dmitrieve56f3022018-03-22 20:14:59 +02009 {%- if 'mtu' in interface %}
10 mtu: {{ interface['mtu'] }}
11 {%- endif %}
Pavel Petrov2b116a22017-10-18 22:27:01 +030012 proto: manual
13 type: eth
14 ovs_bridge: br-prv
15 ovs_type: OVSPort
16 br-prv:
17 enabled: true
18 type: ovs_bridge