blob: da9d6e389cf682779b1ea967d27269f5df9d42de [file] [log] [blame]
Tatyana Leontovich4f9d1a92018-03-28 15:36:40 +03001classes:
2- service.git.client
3- system.linux.system.single
4- system.linux.system.single.debian
azvyagintsev98cba952018-07-13 12:40:53 +03005- system.linux.system.repo.mcp.apt_mirantis.saltstack
Tatyana Leontovich4f9d1a92018-03-28 15:36:40 +03006- system.linux.system.repo_local.mcp.apt_mirantis.openstack
7- system.openssh.client.lab
8- system.salt.master.pkg
9- system.salt.master.api
10- system.salt.master.formula.pkg.manila
11- system.salt.master.formula.pkg.gnocchi
12- system.salt.master.formula.pkg.panko
13# Add when reclass bumped
14#-salt/master/formula/pkg/dogtag.yml
15- system.reclass.storage.salt
16- system.salt.minion.ca.salt_master
Tatyana Leontovich4f9d1a92018-03-28 15:36:40 +030017- system.keystone.client.single
18- system.keystone.client.service.nova21
19- system.keystone.client.service.nova-placement
20- system.keystone.client.service.cinder3
21- system.keystone.client.service.designate
22- system.keystone.client.service.manila
23- system.keystone.client.service.manila2
24- system.keystone.client.service.aodh
25- system.keystone.client.service.ceilometer
26- system.keystone.client.service.panko
27- system.keystone.client.service.gnocchi
28- system.keystone.client.service.barbican
Maksym Shalamov23605e52018-06-26 15:48:10 +030029- system.manila.client
Tatyana Leontovich4f9d1a92018-03-28 15:36:40 +030030- system.reclass.storage.system.openstack_dns_cluster
31- system.reclass.storage.system.openstack_control_cluster
32- system.reclass.storage.system.openstack_compute_multi
33- system.reclass.storage.system.openstack_gateway_single
34- system.reclass.storage.system.openstack_dashboard_single
35- system.reclass.storage.system.openstack_share_single
36- system.reclass.storage.system.openstack_telemetry_cluster
37- cluster.virtual-offline-ssl
38parameters:
39 _param:
40 reclass_data_repository: https://gerrit.mcp.mirantis.net/salt-models/mcp-virtual-lab
41 reclass_data_revision: master
42 salt_master_environment_repository: "https://github.com/tcpcloud"
43 salt_master_environment_revision: master
44 salt_api_password_hash: "$6$sGnRlxGf$al5jMCetLP.vfI/fTl3Z0N7Za1aeiexL487jAtyRABVfT3NlwZxQGVhO7S1N8OwS/34VHYwZQA8lkXwKMN/GS1"
45 reclass_config_master: 192.168.10.90
46 single_address: 172.16.10.100
47 salt_master_host: 127.0.0.1
48 salt_master_base_environment: prd
Maksym Shalamov23605e52018-06-26 15:48:10 +030049 manila_share_type_default_extra_specs:
50 driver_handles_share_servers: False
51 snapshot_support: True
52 create_share_from_snapshot_support : True
53 mount_snapshot_support : True
54 revert_to_snapshot_support : True
Tatyana Leontovich4f9d1a92018-03-28 15:36:40 +030055 linux:
56 network:
57 interface:
58 ens4:
59 enabled: true
60 type: eth
61 proto: static
62 address: ${_param:single_address}
63 netmask: 255.255.255.0
64 salt:
65 master:
66 reactor:
67 reclass/minion/classify:
68 - salt://reclass/reactor/node_register.sls
69 environment:
70 prd:
71 formula:
72 dogtag:
73 source: pkg
74 name: salt-formula-dogtag
75 reclass:
76 storage:
77 class_mapping:
78 common_node:
79 expression: all
80 node_param:
81 single_address:
82 value_template: <<node_control_ip>>
83 linux_system_codename:
84 value_template: <<node_os>>
85 salt_master_host:
86 value_template: <<node_master_ip>>
87 infra_config:
88 expression: <<node_hostname>>__startswith__cfg
89 cluster_param:
90 infra_config_address:
91 value_template: <<node_control_ip>>
92 infra_config_deploy_address:
93 value_template: <<node_deploy_ip>>
94 cluster_domain:
95 value_template: <<node_domain>>
96 openstack_control01:
97 expression: <<node_hostname>>__equals__ctl01
98 cluster_param:
99 openstack_control_node01_address:
100 value_template: <<node_control_ip>>
101 openstack_control02:
102 expression: <<node_hostname>>__equals__ctl02
103 cluster_param:
104 openstack_control_node02_address:
105 value_template: <<node_control_ip>>
106 openstack_control03:
107 expression: <<node_hostname>>__equals__ctl03
108 cluster_param:
109 openstack_control_node03_address:
110 value_template: <<node_control_ip>>
111 openstack_compute:
112 expression: <<node_hostname>>__startswith__cmp
113 node_class:
114 value_template:
115 - cluster.<<node_cluster>>.openstack.compute
116 node_param:
117 tenant_address:
118 value_template: <<node_tenant_ip>>
119 external_address:
120 value_template: <<node_external_ip>>
121 openstack_gateway:
122 expression: <<node_hostname>>__startswith__gtw
123 node_class:
124 value_template:
125 - cluster.<<node_cluster>>.openstack.gateway
126 node_param:
127 tenant_address:
128 value_template: <<node_tenant_ip>>
129 external_address:
130 value_template: <<node_external_ip>>
131 cluster_param:
132 openstack_gateway_node01_address:
133 value_template: <<node_control_ip>>
134 openstack_dashboard:
135 expression: <<node_hostname>>__startswith__prx
136 node_class:
137 value_template:
138 - cluster.<<node_cluster>>.openstack.dashboard
139 - cluster.<<node_cluster>>.openstack.proxy
140 cluster_param:
141 openstack_proxy_node01_address:
142 value_template: <<node_control_ip>>
143 openstack_share:
144 expression: <<node_hostname>>__startswith__share
145 node_class:
146 value_template:
147 - cluster.<<node_cluster>>.openstack.share
148 cluster_param:
149 openstack_share_node01_address:
150 value_template: <<node_control_ip>>
151 openstack_share_node01_share_address:
152 value_template: <<node_tenant_ip>>
153 openstack_telemetry01:
154 expression: <<node_hostname>>__equals__mdb01
155 cluster_param:
156 openstack_telemetry_node01_address:
157 value_template: <<node_control_ip>>
158 openstack_telemetry02:
159 expression: <<node_hostname>>__equals__mdb02
160 cluster_param:
161 openstack_telemetry_node02_address:
162 value_template: <<node_control_ip>>
163 openstack_telemetry03:
164 expression: <<node_hostname>>__equals__mdb03
165 cluster_param:
166 openstack_telemetry_node03_address:
167 value_template: <<node_control_ip>>
168 node:
169 openstack_control_node01:
170 classes:
171 - service.galera.master.cluster
172 - service.dogtag.server.cluster.master
173 params:
174 mysql_cluster_role: master
175 linux_system_codename: xenial
176 openstack_control_node02:
177 classes:
178 - service.galera.slave.cluster
179 - service.dogtag.server.cluster.slave
180 params:
181 mysql_cluster_role: slave
182 linux_system_codename: xenial
183 openstack_control_node03:
184 classes:
185 - service.galera.slave.cluster
186 - service.dogtag.server.cluster.slave
187 params:
188 mysql_cluster_role: slave
189 linux_system_codename: xenial
190 openstack_compute_node01:
191 params:
Michael Polenchuk04a918b2018-07-16 13:59:24 +0400192 dpdk0_name: ens5
Tatyana Leontovich023db382018-07-18 15:21:51 +0300193 dpdk0_pci: '"0000:00:05.0"'
Tatyana Leontovich4f9d1a92018-03-28 15:36:40 +0300194 single_address: 172.16.10.105
195 tenant_address: 10.1.0.105
196 external_address: 10.16.0.105
197 openstack_compute_node02:
198 params:
Michael Polenchuk04a918b2018-07-16 13:59:24 +0400199 dpdk0_name: ens5
Tatyana Leontovich023db382018-07-18 15:21:51 +0300200 dpdk0_pci: '"0000:00:05.0"'
Tatyana Leontovich4f9d1a92018-03-28 15:36:40 +0300201 single_address: 172.16.10.106
202 tenant_address: 10.1.0.106
203 external_address: 10.16.0.106
204 openstack_gateway_node01:
205 params:
206 tenant_address: 10.1.0.110
207 external_address: 10.16.0.110
208 openstack_proxy_node01:
209 classes:
210 - cluster.virtual-offline-ssl.openstack.proxy
211 params:
212 linux_system_codename: xenial
213 openstack_telemetry_node01:
214 params:
215 # create resources only from 1 controller
216 # to prevent race conditions
217 ceilometer_create_gnocchi_resources: true
218 redis_cluster_role: 'master'
219 openstack_telemetry_node02:
220 params:
221 redis_cluster_role: 'slave'
222 openstack_telemetry_node03:
223 params:
224 redis_cluster_role: 'slave'