eb0a538f6ca8ce6dc4f727762bc5207cd3083790
[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 parameters:
13   _param:
14     openstack_version: queens
15     apt_mk_version: nightly
16     mcp_repo_version: 1.1
17
18     banner_company_name: OPNFV
19
20     salt_control_trusty_image: ''  # Dummy value, to keep reclass 1.5.2 happy
21     salt_control_xenial_image: salt://salt/files/control/images/base_image_opnfv_fuel_vcp.img
22
23     # VMs spawned on Foundation Node / Jump Host net ifaces (max 4)
24     # VCP VMs spawned on KVM Hosts net ifaces (max 3)
25     # NOTE(armband): Only x86 VCP VMs spawned via salt.control names differ
26
27 {%- if conf.MCP_JUMP_ARCH == 'aarch64' %}
28     opnfv_fn_vm_primary_interface: enp1s0
29     opnfv_fn_vm_secondary_interface: enp2s0
30     opnfv_fn_vm_tertiary_interface: enp3s0
31     opnfv_fn_vm_quaternary_interface: enp4s0
32
33     opnfv_vcp_vm_primary_interface: ${_param:opnfv_fn_vm_primary_interface}
34     opnfv_vcp_vm_secondary_interface: ${_param:opnfv_fn_vm_secondary_interface}
35     opnfv_vcp_vm_tertiary_interface: ${_param:opnfv_fn_vm_tertiary_interface}
36 {%- else %}
37     opnfv_fn_vm_primary_interface: ens3
38     opnfv_fn_vm_secondary_interface: ens4
39     opnfv_fn_vm_tertiary_interface: ens5
40     opnfv_fn_vm_quaternary_interface: ens6
41
42     opnfv_vcp_vm_primary_interface: ens2
43     opnfv_vcp_vm_secondary_interface: ens3
44     opnfv_vcp_vm_tertiary_interface: ens4
45 {%- endif %}
46
47     ntp_strata_host1: {{ conf.idf.fuel.network.ntp_strata_host1 or '1.pool.ntp.org' }}
48     ntp_strata_host2: {{ conf.idf.fuel.network.ntp_strata_host2 or '0.pool.ntp.org' }}