aboutsummaryrefslogtreecommitdiffstats
path: root/mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-ha/openstack/init.yml
blob: 27fd404805d188dc3f5e550494bdd1b9051bd8ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
##############################################################################
# Copyright (c) 2017 Mirantis Inc., Enea AB and others.
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################
---
classes:
  - cluster.baremetal-mcp-ocata-common.openstack_init
parameters:
  _param:
    neutron_tenant_network_types: "flat,vxlan"
    nova_cpu_pinning: "1,2,3,4,5,7,8,9,10,11"
    compute_hugepages_size: 1G
    compute_hugepages_count: 16
    compute_hugepages_mount: /mnt/hugepages_1G
    compute_kernel_isolcpu: ${_param:nova_cpu_pinning}
  linux:
    network:
      host:
        gtw01:
          address: ${_param:openstack_gateway_node01_address}
          names:
            - ${_param:openstack_gateway_node01_hostname}
            - ${_param:openstack_gateway_node01_hostname}.${_param:cluster_domain}
        gtw02:
          address: ${_param:openstack_gateway_node02_address}
          names:
            - ${_param:openstack_gateway_node02_hostname}
            - ${_param:openstack_gateway_node02_hostname}.${_param:cluster_domain}