Pavel Petrov | 2b116a2 | 2017-10-18 22:27:01 +0300 | [diff] [blame] | 1 | {#- Tenant over VLAN. For computes with dedicated physical interface for tenant networks. #} |
| 2 | # {{ interfaces_role }} |
Dennis Dmitriev | 600e6ee | 2018-02-20 03:55:49 +0200 | [diff] [blame] | 3 | {{- set_param('linux_network_bridge', 'openvswitch') }} |
Pavel Petrov | 2b116a2 | 2017-10-18 22:27:01 +0300 | [diff] [blame] | 4 | {%- set interface_name = interfaces.keys()[0] %} |
Dennis Dmitriev | e56f302 | 2018-03-22 20:14:59 +0200 | [diff] [blame] | 5 | {%- set interface = interfaces[interface_name] %} |
Pavel Petrov | 2b116a2 | 2017-10-18 22:27:01 +0300 | [diff] [blame] | 6 | {{ interface_name }}: |
| 7 | enabled: true |
| 8 | name: {{ interface_name }} |
Dennis Dmitriev | e56f302 | 2018-03-22 20:14:59 +0200 | [diff] [blame] | 9 | {%- if 'mtu' in interface %} |
| 10 | mtu: {{ interface['mtu'] }} |
| 11 | {%- endif %} |
Pavel Petrov | 2b116a2 | 2017-10-18 22:27:01 +0300 | [diff] [blame] | 12 | proto: manual |
| 13 | type: eth |
| 14 | ovs_bridge: br-prv |
| 15 | ovs_type: OVSPort |
| 16 | br-prv: |
| 17 | enabled: true |
| 18 | type: ovs_bridge |