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 galera_server_maintenance_password: opnfv_secret
28 galera_server_admin_password: opnfv_secret
29 cluster_vip_address: ${_param:cluster_public_host}
30 cluster_local_address: ${_param:openstack_control_address}
31 cluster_node01_hostname: ctl01
32 cluster_node01_address: ${_param:opnfv_openstack_control_node01_address}
33 cluster_node02_hostname: ctl02
34 cluster_node02_address: ${_param:opnfv_openstack_control_node02_address}
35 cluster_node03_hostname: ctl03
36 cluster_node03_address: ${_param:opnfv_openstack_control_node03_address}
37 rabbitmq_secret_key: opnfv_secret
38 rabbitmq_admin_password: opnfv_secret
39 rabbitmq_openstack_password: opnfv_secret
40 rabbitmq_cold_password: opnfv_secret
41 glance_version: ${_param:openstack_version}
42 glance_service_host: ${_param:cluster_local_address}
43 keystone_version: ${_param:openstack_version}
44 keystone_service_host: ${_param:cluster_local_address}
45 heat_version: ${_param:openstack_version}
46 heat_service_host: ${_param:cluster_local_address}
47 heat_domain_admin_password: opnfv_secret
48 ceilometer_version: ${_param:openstack_version}
49 ceilometer_service_host: ${_param:cluster_local_address}
50 ceilometer_database_host: ${_param:cluster_local_address}
51 cinder_version: ${_param:openstack_version}
52 cinder_service_host: ${_param:cluster_local_address}
53 nova_version: ${_param:openstack_version}
54 nova_service_host: ${_param:cluster_local_address}
55 nova_vncproxy_url: http://${_param:cluster_vip_address}:8060
56 neutron_version: ${_param:openstack_version}
57 neutron_service_host: ${_param:cluster_local_address}
58 mysql_admin_user: root
59 mysql_admin_password: opnfv_secret
60 mysql_cinder_password: opnfv_secret
61 mysql_ceilometer_password: opnfv_secret
62 mysql_glance_password: opnfv_secret
63 mysql_grafana_password: opnfv_secret
64 mysql_heat_password: opnfv_secret
65 mysql_keystone_password: opnfv_secret
66 mysql_neutron_password: opnfv_secret
67 mysql_nova_password: opnfv_secret
68 mysql_aodh_password: opnfv_secret
69 keystone_service_token: opnfv_secret
70 keystone_admin_password: opnfv_secret
71 keystone_ceilometer_password: opnfv_secret
72 keystone_cinder_password: opnfv_secret
73 keystone_glance_password: opnfv_secret
74 keystone_heat_password: opnfv_secret
75 keystone_keystone_password: opnfv_secret
76 keystone_neutron_password: opnfv_secret
77 keystone_nova_password: opnfv_secret
78 ceilometer_secret_key: opnfv_secret
79 metadata_password: opnfv_secret
80 horizon_version: ${_param:openstack_version}
81 horizon_secret_key: opaesee8Que2yahJoh9fo0eefo1Aeyo6ahyei8zeiboh3aeth5loth7ieNa5xi5e
82 horizon_identity_host: ${_param:cluster_vip_address}
83 horizon_identity_encryption: none
84 horizon_identity_version: 3
86 barbican_version: ${_param:openstack_version}
87 barbican_service_host: ${_param:cluster_local_address}
88 apache_barbican_api_address: ${_param:single_address}
89 mysql_barbican_password: opnfv_secret
90 keystone_barbican_password: opnfv_secret
91 barbican_simple_crypto_kek: "YWJjZGVmZ2hpamtsbW5vcHFyc3R1dnd4eXoxMjM0NTY="
92 barbican_integration_enabled: true
94 {%- if '-sfc-' in conf.MCP_DEPLOY_SCENARIO %}
95 tacker_service_host: ${_param:cluster_local_address}
96 keystone_tacker_password: opnfv_secret
97 mysql_tacker_password: opnfv_secret
100 aodh_version: ${_param:openstack_version}
101 keystone_aodh_password: opnfv_secret
102 aodh_service_host: ${_param:cluster_local_address}
104 gnocchi_service_host: ${_param:cluster_local_address}
105 mysql_gnocchi_password: opnfv_secret
106 keystone_gnocchi_password: opnfv_secret
107 panko_version: ${_param:openstack_version}
108 panko_service_host: ${_param:cluster_local_address}
109 mysql_panko_password: opnfv_secret
110 keystone_panko_password: opnfv_secret
111 ceilometer_agent_default_polling_interval: 180
112 ceilometer_agent_default_polling_meters:
118 net.ipv4.tcp_congestion_control: yeah
119 net.ipv4.tcp_slow_start_after_idle: 0
120 net.ipv4.tcp_fin_timeout: 30
123 source: "deb http://ubuntu-cloud.archive.canonical.com/ubuntu xenial-updates/${_param:openstack_version} main"
125 key_server: keyserver.ubuntu.com
127 - pin: 'release o=Canonical'
129 package: 'openvswitch* python-openvswitch ovn* dpdk* libdpdk*'
133 address: ${_param:openstack_control_address}
136 - ctl.${_param:cluster_domain}
138 address: ${_param:openstack_control_node01_address}
141 - ctl01.${_param:cluster_domain}
143 address: ${_param:openstack_gateway_address}
146 - gtw01.${_param:cluster_domain}
147 {#- For compute nodes, expand values in-place, bypassing reclass param expansion #}
148 {%- for cmp in range(1, nm.cmp_nodes + 1) %}
149 {%- set h = 'cmp%03d' | format(cmp) %}
150 {%- set mgmt = nm.net_mgmt_hosts | length + nm.start_ip[nm.net_mgmt] + loop.index %}
152 address: {{ nm.net_mgmt | ipnet_hostaddr(mgmt) }}
155 - {{ h }}.${_param:cluster_domain}