1 ##############################################################################
2 # Copyright (c) 2019 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 {%- import 'net_map.j2' as nm with context %}
11 - cluster.mcp-common-noha.infra.config
12 - cluster.mcp-iec-noha
13 - cluster.all-mcp-arch-common.opnfv.lab_proxy_pdf
14 - cluster.all-mcp-arch-common.infra.config_pdf
19 {%- if nm.cluster.has_baremetal_nodes %}
20 {#- Since we overwrite the ~node key, we need to re-add maas node explicitly #}
22 name: ${_param:infra_maas_node01_hostname}
23 domain: ${_param:cluster_domain}
25 - cluster.${_param:cluster_name}.infra.maas
27 salt_master_host: ${_param:infra_config_deploy_address}
28 linux_system_codename: ${_param:infra_maas_system_codename}
29 single_address: ${_param:infra_maas_node01_deploy_address}
31 {%- if '-vcp-' in conf.MCP_DEPLOY_SCENARIO %}
32 {%- for i in range(1, 4) %}
33 infra_kvm_node0{{ i }}:
34 name: ${_param:infra_kvm_node0{{ i }}_hostname}
35 domain: ${_param:cluster_domain}
37 - cluster.${_param:cluster_name}.infra.kvm
39 salt_master_host: ${_param:reclass_config_master}
40 linux_system_codename: ${_param:linux_system_codename}
41 single_address: ${_param:opnfv_infra_kvm_node0{{ i }}_address}
42 pxe_admin_address: ${_param:opnfv_infra_kvm_node0{{ i }}_pxe_admin_address}
45 {%- for i in range(1, 4) %}
46 akraino_iec_node0{{ i }}:
47 name: ${_param:akraino_iec_node0{{ i }}_hostname}
48 domain: ${_param:cluster_domain}
50 - cluster.${_param:cluster_name}.akraino.iec
52 salt_master_host: ${_param:reclass_config_master}
53 linux_system_codename: ${_param:linux_system_codename}
54 single_address: ${_param:opnfv_openstack_control_node0{{ i }}_address}
55 external_address: ${_param:opnfv_openstack_control_node0{{ i }}_external_address}
56 pxe_admin_address: ${_param:opnfv_openstack_control_node0{{ i }}_pxe_admin_address}