blob: 6dedee640630284791720992f9c436bfece2331b [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 }}
Dennis Dmitriev600e6ee2018-02-20 03:55:49 +02007 {{- set_param('linux_network_bridge', 'openvswitch') }}
Dennis Dmitrievf4826bc2017-09-28 19:03:54 +03008 {%- for interface_name, interface in interfaces.items() %}
9 {{ interface_name }}:
10 bond: bonddpdk2
11 driver: igb_uio
12 enabled: true
13 n_rxq: 2
14 name: {{ interface_name }}
sgudzbf078212018-02-09 18:18:23 +020015 pci: "{{ interface['dpdk_pci'] }}"
Dennis Dmitrievf4826bc2017-09-28 19:03:54 +030016 type: dpdk_ovs_port
17 {%- endfor %}
18 bonddpdk2:
19 bridge: br-prv
20 enabled: true
21 mode: active-backup
22 type: dpdk_ovs_bond
23 br-prv:
Dennis Dmitriev9b0a0892018-11-01 06:37:47 +020024 proto: static
Dennis Dmitrievf4826bc2017-09-28 19:03:54 +030025 address: ${_param:_esc}{_param:tenant_address}
26 enabled: true
Dennis Dmitrievcf5f43b2017-10-11 15:10:27 +030027 netmask: ${_param:_esc}{_param:tenant_network_netmask}
sgudzbf078212018-02-09 18:18:23 +020028 type: dpdk_ovs_bridge