63eb6e250a763a4a348def8de7594e06e1032454
[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       dhcp_agent_enabled: true
20       metadata_agent_enabled: true
21       backend:
22         tenant_network_types: ${_param:neutron_tenant_network_types}
23   linux:
24     network:
25       interface:
26         pxe_admin_int:
27           # For scenarios without public network on cmp, set admin gw
28           gateway: {{ nm.net_admin_gw }}
29           name_servers:
30             - {{ nm.net_admin_gw }}
31         dpdk0:
32           name: ${_param:dpdk0_name}
33           pci: ${_param:dpdk0_pci}
34           driver: ${_param:dpdk0_driver}
35           enabled: true
36           bridge: br-prv
37           type: dpdk_ovs_port
38           n_rxq: ${_param:dpdk0_n_rxq}
39           mtu: ${_param:interface_mtu}
40         br-prv:
41           enabled: true
42           type: dpdk_ovs_bridge
43         {{ nm.cmp001.nic_private }}:
44           type: dpdk  # Not a meaningful type, just match 'dpdk' for filtering