27fd404805d188dc3f5e550494bdd1b9051bd8ba
[fuel.git] / mcp / reclass / classes / cluster / baremetal-mcp-ocata-ovs-ha / openstack / init.yml
1 ##############################################################################
2 # Copyright (c) 2017 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 ---
9 classes:
10   - cluster.baremetal-mcp-ocata-common.openstack_init
11 parameters:
12   _param:
13     neutron_tenant_network_types: "flat,vxlan"
14     nova_cpu_pinning: "1,2,3,4,5,7,8,9,10,11"
15     compute_hugepages_size: 1G
16     compute_hugepages_count: 16
17     compute_hugepages_mount: /mnt/hugepages_1G
18     compute_kernel_isolcpu: ${_param:nova_cpu_pinning}
19   linux:
20     network:
21       host:
22         gtw01:
23           address: ${_param:openstack_gateway_node01_address}
24           names:
25             - ${_param:openstack_gateway_node01_hostname}
26             - ${_param:openstack_gateway_node01_hostname}.${_param:cluster_domain}
27         gtw02:
28           address: ${_param:openstack_gateway_node02_address}
29           names:
30             - ${_param:openstack_gateway_node02_hostname}
31             - ${_param:openstack_gateway_node02_hostname}.${_param:cluster_domain}