sgudz | 7c5a1d7 | 2018-02-12 13:42:38 +0200 | [diff] [blame] | 1 | {#- Provides: #} |
| 2 | {#- br-prv (OVS bridge) #} |
| 3 | {#- Requirements: #} |
| 4 | {#- _param:tenant_address #} |
| 5 | {#- _param:tenant_network_netmask #} |
| 6 | # {{ interfaces_role }} |
sgudz | f38c62f | 2018-05-17 17:07:47 +0300 | [diff] [blame] | 7 | {{- set_param('linux_network_bridge', 'openvswitch') }} |
sgudz | 7c5a1d7 | 2018-02-12 13:42:38 +0200 | [diff] [blame] | 8 | {%- 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 |