aarch64: Add kpti=off similar to x86_64 nopti
[fuel.git] / mcp / reclass / classes / cluster / mcp-fdio-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   - service.neutron.compute.single
12   - system.nova.compute.nfv.hugepages
13   - cluster.mcp-common-noha.openstack_compute
14   - cluster.mcp-fdio-noha
15 parameters:
16   nova:
17     compute:
18       # yamllint disable-line rule:truthy
19       vif_plugging_is_fatal: False
20       vif_plugging_timeout: 10
21   neutron:
22     compute:
23       backend:
24         router: 'vpp-router'
25         tenant_network_types: "${_param:neutron_tenant_network_types}"
26         ~mechanism:
27           vpp:
28             driver: vpp
29             etcd_port: ${_param:node_port}
30             etcd_host: ${_param:node_address}
31             l3_hosts: ${_param:openstack_gateway_node01_hostname}
32         physnets:
33           physnet1:
34             vpp_interface: ${_param:external_vpp_tap}
35           physnet2:
36             vpp_interface: ${_param:dpdk0_vpp}
37   linux:
38     system:
39       kernel:
40         isolcpu: 1  # NOTE: Hardcoded for now
41         boot_options:
42           - spectre_v2=off
43           - nopti
44           - kpti=off
45           - nospec_store_bypass_disable
46           - noibrs
47           - noibpb
48           - intel_iommu=on
49           - iommu=pt
50           - nohz_full=${linux:system:kernel:isolcpu}
51           - rcu_nocbs=${linux:system:kernel:isolcpu}
52           - iommu.passthrough=1
53     network:
54       interface:
55         dpdk0:
56           name: ${_param:dpdk0_name}
57           pci: ${_param:dpdk0_pci}
58           driver: ${_param:dpdk0_driver}
59           enabled: true
60           type: dpdk_vpp_port
61           mtu: ${_param:interface_mtu}
62         {{ nm.cmp001.nic_private }}:
63           type: dpdk  # Not a meaningful type, just match 'dpdk' for filtering
64         pxe_admin_int:
65           # For scenarios without public network on cmp, set admin gw
66           gateway: {{ nm.net_admin_gw }}
67           name_servers:
68             - {{ nm.net_admin_gw }}