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.uca_repo
14 openstack_region: RegionOne
15 admin_email: root@localhost
16 cluster_public_protocol: http
17 cluster_public_host: ${_param:opnfv_openstack_control_node01_external_address}
18 neutron_public_protocol: http
19 neutron_control_dvr: 'False'
20 neutron_l3_ha: 'False'
21 neutron_global_physnet_mtu: 1500
22 neutron_external_mtu: 1500
23 neutron_gateway_dvr: 'False'
24 neutron_gateway_agent_mode: legacy
25 neutron_compute_dvr: 'False'
26 neutron_compute_agent_mode: legacy
27 neutron_compute_external_access: 'False'
28 galera_server_cluster_name: openstack_cluster
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 glance_version: ${_param:openstack_version}
38 glance_service_host: ${_param:cluster_local_address}
39 keystone_version: ${_param:openstack_version}
40 keystone_service_host: ${_param:cluster_local_address}
41 heat_version: ${_param:openstack_version}
42 heat_service_host: ${_param:cluster_local_address}
43 ceilometer_version: ${_param:openstack_version}
44 ceilometer_service_host: ${_param:cluster_local_address}
45 ceilometer_database_host: ${_param:cluster_local_address}
46 cinder_version: ${_param:openstack_version}
47 cinder_service_host: ${_param:cluster_local_address}
48 nova_version: ${_param:openstack_version}
49 nova_service_host: ${_param:cluster_local_address}
50 nova_vncproxy_url: http://${_param:cluster_vip_address}:8060
51 neutron_version: ${_param:openstack_version}
52 neutron_service_host: ${_param:cluster_local_address}
53 mysql_admin_user: root
54 horizon_version: ${_param:openstack_version}
55 horizon_secret_key: opaesee8Que2yahJoh9fo0eefo1Aeyo6ahyei8zeiboh3aeth5loth7ieNa5xi5e
56 horizon_identity_host: ${_param:cluster_vip_address}
57 horizon_identity_encryption: none
58 horizon_identity_version: 3
60 barbican_version: ${_param:openstack_version}
61 barbican_service_host: ${_param:cluster_local_address}
62 apache_barbican_api_address: ${_param:single_address}
63 barbican_simple_crypto_kek: "YWJjZGVmZ2hpamtsbW5vcHFyc3R1dnd4eXoxMjM0NTY="
64 barbican_integration_enabled: true
66 {%- if '-sfc-' in conf.MCP_DEPLOY_SCENARIO %}
67 tacker_service_host: ${_param:cluster_local_address}
70 aodh_version: ${_param:openstack_version}
71 aodh_service_host: ${_param:cluster_local_address}
73 gnocchi_service_host: ${_param:cluster_local_address}
74 panko_version: ${_param:openstack_version}
75 panko_service_host: ${_param:cluster_local_address}
76 ceilometer_agent_default_polling_interval: 180
77 ceilometer_agent_default_polling_meters:
83 net.ipv4.tcp_congestion_control: yeah
84 net.ipv4.tcp_slow_start_after_idle: 0
85 net.ipv4.tcp_fin_timeout: 30
89 - pin: 'release o=Canonical'
91 package: 'openvswitch* python-openvswitch ovn* dpdk* libdpdk*'
95 address: ${_param:openstack_control_address}
98 - ctl.${_param:cluster_domain}
100 address: ${_param:openstack_control_node01_address}
103 - ctl01.${_param:cluster_domain}
105 address: ${_param:openstack_gateway_address}
108 - gtw01.${_param:cluster_domain}
109 {#- For compute nodes, expand values in-place, bypassing reclass param expansion #}
110 {%- for cmp in range(1, nm.cmp_nodes + 1) %}
111 {%- set h = 'cmp%03d' | format(cmp) %}
112 {%- set mgmt = nm.net_mgmt_hosts | length + nm.start_ip[nm.net_mgmt] + loop.index %}
114 address: {{ nm.net_mgmt | ipnet_hostaddr(mgmt) }}
117 - {{ h }}.${_param:cluster_domain}