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_version: queens
13 apt_mk_version: testing
15 openstack_region: RegionOne
16 admin_email: root@localhost
17 cluster_public_protocol: http
18 cluster_public_host: ${_param:opnfv_openstack_control_node01_external_address}
19 neutron_public_protocol: http
20 neutron_control_dvr: 'False'
21 neutron_l3_ha: 'False'
22 neutron_global_physnet_mtu: 1500
23 neutron_external_mtu: 1500
24 neutron_gateway_dvr: 'False'
25 neutron_gateway_agent_mode: legacy
26 neutron_compute_dvr: 'False'
27 neutron_compute_agent_mode: legacy
28 neutron_compute_external_access: 'False'
29 galera_server_cluster_name: openstack_cluster
30 galera_server_maintenance_password: opnfv_secret
31 galera_server_admin_password: opnfv_secret
32 cluster_vip_address: ${_param:cluster_public_host}
33 cluster_local_address: ${_param:openstack_control_address}
34 cluster_node01_hostname: ctl01
35 cluster_node01_address: ${_param:opnfv_openstack_control_node01_address}
36 cluster_node02_hostname: ctl02
37 cluster_node02_address: ${_param:opnfv_openstack_control_node02_address}
38 cluster_node03_hostname: ctl03
39 cluster_node03_address: ${_param:opnfv_openstack_control_node03_address}
40 rabbitmq_secret_key: opnfv_secret
41 rabbitmq_admin_password: opnfv_secret
42 rabbitmq_openstack_password: opnfv_secret
43 rabbitmq_cold_password: opnfv_secret
44 glance_version: ${_param:openstack_version}
45 glance_service_host: ${_param:cluster_local_address}
46 keystone_version: ${_param:openstack_version}
47 keystone_service_host: ${_param:cluster_local_address}
48 heat_version: ${_param:openstack_version}
49 heat_service_host: ${_param:cluster_local_address}
50 heat_domain_admin_password: opnfv_secret
51 ceilometer_version: ${_param:openstack_version}
52 ceilometer_service_host: ${_param:cluster_local_address}
53 ceilometer_database_host: ${_param:cluster_local_address}
54 cinder_version: ${_param:openstack_version}
55 cinder_service_host: ${_param:cluster_local_address}
56 nova_version: ${_param:openstack_version}
57 nova_service_host: ${_param:cluster_local_address}
58 nova_vncproxy_url: http://${_param:cluster_vip_address}:8060
59 neutron_version: ${_param:openstack_version}
60 neutron_service_host: ${_param:cluster_local_address}
61 mysql_admin_user: root
62 mysql_admin_password: opnfv_secret
63 mysql_cinder_password: opnfv_secret
64 mysql_ceilometer_password: opnfv_secret
65 mysql_glance_password: opnfv_secret
66 mysql_grafana_password: opnfv_secret
67 mysql_heat_password: opnfv_secret
68 mysql_keystone_password: opnfv_secret
69 mysql_neutron_password: opnfv_secret
70 mysql_nova_password: opnfv_secret
71 mysql_aodh_password: opnfv_secret
72 keystone_service_token: opnfv_secret
73 keystone_admin_password: opnfv_secret
74 keystone_ceilometer_password: opnfv_secret
75 keystone_cinder_password: opnfv_secret
76 keystone_glance_password: opnfv_secret
77 keystone_heat_password: opnfv_secret
78 keystone_keystone_password: opnfv_secret
79 keystone_neutron_password: opnfv_secret
80 keystone_nova_password: opnfv_secret
81 ceilometer_secret_key: opnfv_secret
82 metadata_password: opnfv_secret
83 horizon_version: ${_param:openstack_version}
84 horizon_secret_key: opaesee8Que2yahJoh9fo0eefo1Aeyo6ahyei8zeiboh3aeth5loth7ieNa5xi5e
85 horizon_identity_host: ${_param:cluster_vip_address}
86 horizon_identity_encryption: none
87 horizon_identity_version: 3
88 aodh_version: ${_param:openstack_version}
89 keystone_aodh_password: opnfv_secret
90 aodh_service_host: ${_param:cluster_local_address}
92 gnocchi_service_host: ${_param:cluster_local_address}
93 mysql_gnocchi_password: opnfv_secret
94 keystone_gnocchi_password: opnfv_secret
95 panko_version: ${_param:openstack_version}
96 panko_service_host: ${_param:cluster_local_address}
97 mysql_panko_password: opnfv_secret
98 keystone_panko_password: opnfv_secret
99 ceilometer_agent_default_polling_interval: 180
100 ceilometer_agent_default_polling_meters:
106 net.ipv4.tcp_congestion_control: yeah
107 net.ipv4.tcp_slow_start_after_idle: 0
108 net.ipv4.tcp_fin_timeout: 30
112 address: ${_param:openstack_control_address}
115 - ctl.${_param:cluster_domain}
117 address: ${_param:openstack_control_node01_address}
120 - ctl01.${_param:cluster_domain}
122 address: ${_param:openstack_gateway_address}
125 - gtw01.${_param:cluster_domain}
126 {#- For compute nodes, expand values in-place, bypassing reclass param expansion #}
127 {%- for cmp in range(1, nm.cmp_nodes + 1) %}
128 {%- set h = 'cmp%03d' | format(cmp) %}
129 {%- set mgmt = nm.net_mgmt_hosts | length + nm.start_ip[nm.net_mgmt] + loop.index %}
131 address: {{ nm.net_mgmt | ipnet_hostaddr(mgmt) }}
134 - {{ h }}.${_param:cluster_domain}