blob: 0ba4aa3aeaee12bdf4b8129752f110a8d90cffa4 [file] [log] [blame]
Dennis Dmitrievf4826bc2017-09-28 19:03:54 +03001{#- Provides: #}
2{#- br-prv (OVS bridge) #}
3{#- Requirements: #}
4{#- _param:tenant_address #}
Dennis Dmitrievcf5f43b2017-10-11 15:10:27 +03005{#- _param:tenant_network_netmask #}
Dennis Dmitrievf4826bc2017-09-28 19:03:54 +03006 # {{ interfaces_role }}
7 {%- for interface_name, interface in interfaces.items() %}
8 {{ interface_name }}:
9 bond: bonddpdk2
10 driver: igb_uio
11 enabled: true
12 n_rxq: 2
13 name: {{ interface_name }}
sgudzbf078212018-02-09 18:18:23 +020014 pci: "{{ interface['dpdk_pci'] }}"
Dennis Dmitrievf4826bc2017-09-28 19:03:54 +030015 type: dpdk_ovs_port
16 {%- endfor %}
17 bonddpdk2:
18 bridge: br-prv
19 enabled: true
20 mode: active-backup
21 type: dpdk_ovs_bond
22 br-prv:
23 address: ${_param:_esc}{_param:tenant_address}
24 enabled: true
Dennis Dmitrievcf5f43b2017-10-11 15:10:27 +030025 netmask: ${_param:_esc}{_param:tenant_network_netmask}
sgudzbf078212018-02-09 18:18:23 +020026 type: dpdk_ovs_bridge