25fc82624f10ce24b92ffed0a2dd0ea045a965ba
[fuel.git] / mcp / reclass / classes / cluster / mcp-ovs-dpdk-noha / openstack / compute.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 classes:
11   - system.nova.compute.nfv.hugepages
12   - system.neutron.compute.nfv.dpdk
13   - service.neutron.compute.single
14   - cluster.mcp-common-noha.openstack_compute
15   - cluster.mcp-ovs-dpdk-noha
16 parameters:
17   neutron:
18     compute:
19       backend:
20         tenant_network_types: ${_param:neutron_tenant_network_types}
21   linux:
22     network:
23       interface:
24         pxe_admin_int:
25           # For scenarios without public network on cmp, set admin gw
26           gateway: {{ nm.net_admin_gw }}
27           name_servers:
28             - {{ nm.net_admin_gw }}
29         dpdk0:
30           name: ${_param:dpdk0_name}
31           pci: ${_param:dpdk0_pci}
32           driver: ${_param:dpdk0_driver}
33           enabled: true
34           bridge: br-prv
35           type: dpdk_ovs_port
36           n_rxq: ${_param:dpdk0_n_rxq}
37           mtu: ${_param:interface_mtu}
38         br-prv:
39           enabled: true
40           type: dpdk_ovs_bridge
41         {{ nm.cmp001.nic_private }}:
42           type: dpdk  # Not a meaningful type, just match 'dpdk' for filtering