Merge "[minion] Set tcp_keepalive for flaky networks"
[fuel.git] / mcp / reclass / classes / cluster / all-mcp-arch-common / init.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 ---
9 classes:
10   - system.linux.system.single
11   - cluster.all-mcp-arch-common.opnfv
12   - cluster.all-mcp-arch-common.passwords
13 parameters:
14   _param:
15     openstack_version: queens
16     apt_mk_version: nightly
17     mcp_repo_version: 1.1
18
19     banner_company_name: OPNFV
20
21     salt_control_trusty_image: ''  # Dummy value, to keep reclass 1.5.2 happy
22     salt_control_xenial_image: salt://salt/files/control/images/base_image_opnfv_fuel_vcp.img
23
24     # VMs spawned on Foundation Node / Jump Host net ifaces (max 4)
25     # VCP VMs spawned on KVM Hosts net ifaces (max 3)
26     # NOTE(armband): Only x86 VCP VMs spawned via salt.control names differ
27
28 {%- if conf.MCP_JUMP_ARCH == 'aarch64' %}
29     opnfv_fn_vm_primary_interface: enp1s0
30     opnfv_fn_vm_secondary_interface: enp2s0
31     opnfv_fn_vm_tertiary_interface: enp3s0
32     opnfv_fn_vm_quaternary_interface: enp4s0
33
34     opnfv_vcp_vm_primary_interface: ${_param:opnfv_fn_vm_primary_interface}
35     opnfv_vcp_vm_secondary_interface: ${_param:opnfv_fn_vm_secondary_interface}
36     opnfv_vcp_vm_tertiary_interface: ${_param:opnfv_fn_vm_tertiary_interface}
37 {%- else %}
38     opnfv_fn_vm_primary_interface: ens3
39     opnfv_fn_vm_secondary_interface: ens4
40     opnfv_fn_vm_tertiary_interface: ens5
41     opnfv_fn_vm_quaternary_interface: ens6
42
43     opnfv_vcp_vm_primary_interface: ens2
44     opnfv_vcp_vm_secondary_interface: ens3
45     opnfv_vcp_vm_tertiary_interface: ens4
46 {%- endif %}
47
48     ntp_strata_host1: {{ conf.idf.fuel.network.ntp_strata_host1 or '1.pool.ntp.org' }}
49     ntp_strata_host2: {{ conf.idf.fuel.network.ntp_strata_host2 or '0.pool.ntp.org' }}
50
51     armband_key: |
52       -----BEGIN PGP PUBLIC KEY BLOCK-----
53       Version: GnuPG v2.0.14 (GNU/Linux)
54
55       mQENBFagAroBCADWboNIjuF6lB1mWv2+EbvqY3lKl5mLKhr2DnSUkKeHUPBv8gNM
56       qK8Q00AMIyPiyEhgjA+dWizZ+5aBgxoiY7oMeLJ2Xym36U/8SYq2BWd3SGCbMNoz
57       SJDxDUSM/HFVs6atF1M3DY9oN65hSVnu4uy5Tu6asf6k4rhAyk0z4+pRcPBCu2vq
58       mnGi3COM/+9PShrEKeVOx5W2vRJywUFuq8EDvQnRoJ0GvM28JiJIanw17YwIPxhg
59       BKZVpZjan5X+ihVMXwA2h/G/FS5Omhd50RqV6LWSYs94VJJgYqHx8UMm7izcxI+P
60       ct3IcbD195bPbJ+SbuiFe45ZLsdY1MyGiU2BABEBAAG0K0VuZWEgQXJtYmFuZCBE
61       ZXZvcHMgVGVhbSA8YXJtYmFuZEBlbmVhLmNvbT6JATgEEwECACICGwMGCwkIBwMC
62       BhUIAgkKCwQWAgMBAh4BAheABQJaY3bYAAoJEN6rkLp5irHRoQMH/0PYl0A/6eWw
63       nQ/szhEFrr76Ln6wA4vEO+PiuWj9kTkZM2NaCnkisrIuHSPIVvOLfFmztbE6sKGe
64       t+a2b7Jqw48DZ/gq508aZE4Q307ookxdCOrzIu/796hFO34yXg3sqZoJh3VmKIjY
65       4DL8yG1iAiQ5vOw3IFWQnATwIZUgaCcjmE7HGap+9ePuJfFuQ8mIG5cy28t8qocx
66       AB/B2tucfBMwomYxKqgbLI5AG7iSt58ajvrrNa9f8IX7Ihj/jiuXhUwX+geEp98K
67       IWVI1ftEthZvfBpZW4BS98J4z//dEPi31L4jb9RQXq3afF2RpXchDeUN85bW45nu
68       W/9PMAlgE/U=
69       =m+zE
70       -----END PGP PUBLIC KEY BLOCK-----