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 %}
12 openstack_region: RegionOne
13 admin_email: root@localhost
14 cluster_public_protocol: http
15 cluster_public_host: ${_param:opnfv_openstack_control_node01_external_address}
16 neutron_public_protocol: http
17 neutron_control_dvr: 'False'
18 neutron_l3_ha: 'False'
19 neutron_global_physnet_mtu: 1500
20 neutron_external_mtu: 1500
21 neutron_gateway_dvr: 'False'
22 neutron_gateway_agent_mode: legacy
23 neutron_compute_dvr: 'False'
24 neutron_compute_agent_mode: legacy
25 neutron_compute_external_access: 'False'
26 galera_server_cluster_name: openstack_cluster
27 cluster_vip_address: ${_param:cluster_public_host}
28 cluster_local_address: ${_param:openstack_control_address}
29 cluster_node01_hostname: ctl01
30 cluster_node01_address: ${_param:opnfv_openstack_control_node01_address}
31 cluster_node02_hostname: ctl02
32 cluster_node02_address: ${_param:opnfv_openstack_control_node02_address}
33 cluster_node03_hostname: ctl03
34 cluster_node03_address: ${_param:opnfv_openstack_control_node03_address}
35 glance_version: ${_param:openstack_version}
36 glance_service_host: ${_param:cluster_local_address}
37 keystone_version: ${_param:openstack_version}
38 keystone_service_host: ${_param:cluster_local_address}
39 heat_version: ${_param:openstack_version}
40 heat_service_host: ${_param:cluster_local_address}
41 ceilometer_version: ${_param:openstack_version}
42 ceilometer_service_host: ${_param:cluster_local_address}
43 ceilometer_database_host: ${_param:cluster_local_address}
44 cinder_version: ${_param:openstack_version}
45 cinder_service_host: ${_param:cluster_local_address}
46 nova_version: ${_param:openstack_version}
47 nova_service_host: ${_param:cluster_local_address}
48 nova_vncproxy_url: http://${_param:cluster_vip_address}:8060
49 neutron_version: ${_param:openstack_version}
50 neutron_service_host: ${_param:cluster_local_address}
51 mysql_admin_user: root
52 horizon_version: ${_param:openstack_version}
53 horizon_secret_key: opaesee8Que2yahJoh9fo0eefo1Aeyo6ahyei8zeiboh3aeth5loth7ieNa5xi5e
54 horizon_identity_host: ${_param:cluster_vip_address}
55 horizon_identity_encryption: none
56 horizon_identity_version: 3
58 barbican_version: ${_param:openstack_version}
59 barbican_service_host: ${_param:cluster_local_address}
60 apache_barbican_api_address: ${_param:single_address}
61 barbican_simple_crypto_kek: "YWJjZGVmZ2hpamtsbW5vcHFyc3R1dnd4eXoxMjM0NTY="
62 barbican_integration_enabled: true
64 {%- if '-sfc-' in conf.MCP_DEPLOY_SCENARIO %}
65 tacker_service_host: ${_param:cluster_local_address}
68 aodh_version: ${_param:openstack_version}
69 aodh_service_host: ${_param:cluster_local_address}
71 gnocchi_service_host: ${_param:cluster_local_address}
72 panko_version: ${_param:openstack_version}
73 panko_service_host: ${_param:cluster_local_address}
74 ceilometer_agent_default_polling_interval: 180
75 ceilometer_agent_default_polling_meters:
81 net.ipv4.tcp_congestion_control: yeah
82 net.ipv4.tcp_slow_start_after_idle: 0
83 net.ipv4.tcp_fin_timeout: 30
84 {%- if 'aarch64' in nm.cluster.arch %}
86 armband_3: # Should be in sync with the repo config generated via curtin/MaaS
87 source: "deb http://linux.enea.com/mcp-repos/${_param:armband_repo_version}/xenial ${_param:armband_repo_version}-armband main"
88 key: ${_param:armband_key}
90 - pin: 'release a=${_param:armband_repo_version}-armband'
97 address: ${_param:openstack_control_address}
100 - ctl.${_param:cluster_domain}
102 address: ${_param:openstack_control_node01_address}
105 - ctl01.${_param:cluster_domain}
107 address: ${_param:openstack_gateway_address}
110 - gtw01.${_param:cluster_domain}
111 {#- For compute nodes, expand values in-place, bypassing reclass param expansion #}
112 {%- for cmp in range(1, nm.cmp_nodes + 1) %}
113 {%- set h = 'cmp%03d' | format(cmp) %}
114 {%- set mgmt = nm.net_mgmt_hosts | length + nm.start_ip[nm.net_mgmt] + loop.index %}
116 address: {{ nm.net_mgmt | ipnet_hostaddr(mgmt) }}
119 - {{ h }}.${_param:cluster_domain}