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