[ovs/dpdk] Parameterize node-specific compute args
[fuel.git] / mcp / reclass / classes / cluster / mcp-pike-ovs-dpdk-ha / openstack / compute_pdf.yml.j2
1 ##############################################################################
2 # Copyright (c) 2018 Mirantis Inc., Enea AB and others.
3 # All rights reserved. This program and the accompanying materials
4 # are made available under the terms of the Apache License, Version 2.0
5 # which accompanies this distribution, and is available at
6 # http://www.apache.org/licenses/LICENSE-2.0
7 ##############################################################################
8 {%- import 'net_map.j2' as nm with context %}
9 ---
10 parameters:
11   linux:
12     network:
13       interface:
14         dpdk0:
15           name: ${_param:dpdk0_name}
16           pci: ${_param:dpdk0_pci}
17           driver: ${_param:dpdk0_driver}
18           enabled: true
19           bridge: br-prv
20           type: dpdk_ovs_port
21           n_rxq: ${_param:dpdk0_n_rxq}
22         br-prv:
23           enabled: true
24           type: dpdk_ovs_bridge
25           address: ${_param:tenant_address}
26           netmask: 255.255.255.0
27           {%- if nm.vlan_private and nm.vlan_private != 'native' %}
28           tag: {{ nm.vlan_private }}
29           {%- endif %}