aboutsummaryrefslogtreecommitdiffstats
path: root/mcp/reclass/classes/cluster/baremetal-mcp-ocata-odl-ha/openstack/init.yml
blob: fa1ed10721d6c102117356d6cbdbe3742a52a8df (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
32
33
34
35
36
37
38
39
40
41
42
43
44
##############################################################################
# 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-ha.openstack_init
parameters:
  _param:
    # opendaylight options
    opendaylight_server_node01_single_address: ${_param:opnfv_opendaylight_server_node01_single_address}
    opendaylight_service_host: ${_param:opendaylight_server_node01_single_address}
    opendaylight_server_node01_hostname: odl01
    opendaylight_router: odl-router_v2

    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:
    system:
      repo:
        uca:
          source: "deb http://ubuntu-cloud.archive.canonical.com/ubuntu xenial-updates/ocata main"
          architectures: amd64
          key_id: EC4926EA
          key_server: keyserver.ubuntu.com
      kernel:
        sysctl:
          net.ipv4.tcp_congestion_control: yeah
          net.ipv4.tcp_slow_start_after_idle: 0
          net.ipv4.tcp_fin_timeout: 30
    network:
      host:
        odl01:
          address: ${_param:opendaylight_service_host}
          names:
            - ${_param:opendaylight_server_node01_hostname}
            - ${_param:opendaylight_server_node01_hostname}.${_param:cluster_domain}