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 {%- import 'net_map.j2' as nm with context %}
11 - cluster.all-mcp-arch-common
14 cluster_domain: ${_param:cluster_name}.local
15 infra_maas_database_password: opnfv_secret
16 reclass_config_master: ${_param:opnfv_infra_config_pxe_admin_address}
17 infra_maas_node01_hostname: mas01
18 infra_maas_node01_address: ${_param:opnfv_infra_maas_node01_address}
19 infra_maas_node01_deploy_address: ${_param:opnfv_infra_maas_node01_deploy_address}
25 Acquire::ForceIPv4: true
27 APT::Get::allow-downgrades: true
31 address: ${_param:opnfv_infra_config_address}
34 - cfg01.${_param:cluster_domain}
36 address: ${_param:opnfv_infra_config_address}
39 - cfg.${_param:cluster_domain}
40 {%- if nm.cluster.has_baremetal_nodes %}
42 address: ${_param:infra_maas_node01_address}
44 - ${_param:infra_maas_node01_hostname}
45 - ${_param:infra_maas_node01_hostname}.${_param:cluster_domain}