blob: cf006caa22424c81d69f86fd1b4468edb9831963 [file] [log] [blame]
sgudz7c5a1d72018-02-12 13:42:38 +02001{#- Provides: #}
2{#- br-prv (OVS bridge) #}
3{#- Requirements: #}
4{#- _param:tenant_address #}
5{#- _param:tenant_network_netmask #}
6 # {{ interfaces_role }}
sgudzf38c62f2018-05-17 17:07:47 +03007 {{- set_param('linux_network_bridge', 'openvswitch') }}
sgudz7c5a1d72018-02-12 13:42:38 +02008 {%- for interface_name, interface in interfaces.items() %}
9 dpdk0:
10 driver: igb_uio
11 enabled: true
12 n_rxq: 2
13 name: {{ interface_name }}
14 pci: "{{ interface['dpdk_pci'] }}"
15 type: dpdk_ovs_port
16 bridge: br-prv
17 {% endfor %}
18 br-prv:
19 address: ${_param:_esc}{_param:tenant_address}
20 netmask: ${_param:_esc}{_param:tenant_network_netmask}
21 enabled: true
22 type: dpdk_ovs_bridge