blob: 139289ef0599e6c97c7cad02f44c02b960598607 [file] [log] [blame]
Tatyana Leontovich3ca999a2017-04-11 12:52:19 +03001classes:
2- service.git.client
3- system.linux.system.single
4- system.linux.system.repo.mcp.salt
Elena Ezhovaf42731a2017-07-27 17:13:48 +04005- system.linux.system.repo.mcp.openstack
Tatyana Leontovich3ca999a2017-04-11 12:52:19 +03006- system.openssh.client.lab
7- system.salt.master.api
8- system.salt.master.pkg
9- system.reclass.storage.salt
10- system.salt.minion.ca.salt_master
11- system.salt.minion.cert.proxy
12- system.sphinx.server.doc.reclass
13- system.keystone.client.single
Tatyana Leontovich81b32a92017-07-20 16:24:23 +030014- system.keystone.client.service.aodh
Tatyana Leontovich3ca999a2017-04-11 12:52:19 +030015- system.keystone.client.service.ceilometer
16- system.keystone.client.service.nova21
Tatyana Leontovichf4fef592017-04-26 21:10:33 +030017- system.keystone.client.service.nova-placement
Tatyana Leontovich3ca999a2017-04-11 12:52:19 +030018- system.keystone.client.service.glare
19- system.keystone.client.service.cinder3
Mykyta Karpin7bdd53f2017-06-07 18:09:08 +030020- system.keystone.client.service.designate
Tatyana Leontovich3ca999a2017-04-11 12:52:19 +030021- system.mysql.client.single
22- system.reclass.storage.system.openstack_control_cluster
Jiri Broulik26104ab2017-08-17 16:40:33 +020023- system.reclass.storage.system.openstack_compute_multi
24- system.reclass.storage.system.openstack_gateway_single
25- system.reclass.storage.system.openstack_dashboard_single
Tatyana Leontovich81b32a92017-07-20 16:24:23 +030026- system.reclass.storage.system.stacklightv2_server_cluster
Tatyana Leontovich3ca999a2017-04-11 12:52:19 +030027- cluster.virtual-mcp-ocata-dvr.openstack.proxy
28- cluster.virtual-mcp-ocata-dvr.stacklight.proxy
29- cluster.virtual-mcp-ocata-dvr
30parameters:
31 _param:
32 reclass_data_repository: https://gerrit.mcp.mirantis.net/salt-models/mcp-virtual-lab
33 reclass_data_revision: master
34 salt_master_environment_repository: "https://github.com/tcpcloud"
35 salt_master_environment_revision: master
36 salt_api_password_hash: "$6$sGnRlxGf$al5jMCetLP.vfI/fTl3Z0N7Za1aeiexL487jAtyRABVfT3NlwZxQGVhO7S1N8OwS/34VHYwZQA8lkXwKMN/GS1"
Olivier Bourdon5e343162017-09-05 07:52:15 +020037 reclass_config_master: 192.168.10.90
Tatyana Leontovich3ca999a2017-04-11 12:52:19 +030038 single_address: 172.16.10.100
39 salt_master_host: 127.0.0.1
40 salt_master_base_environment: prd
41 salt_minion_ca_host: ${linux:network:fqdn}
42 linux:
43 network:
44 interface:
45 ens4:
46 enabled: true
47 type: eth
Petr Jediný9b3a0ed2017-04-13 15:12:09 +020048 proto: static
49 address: ${_param:single_address}
50 netmask: 255.255.255.0
Tatyana Leontovich3ca999a2017-04-11 12:52:19 +030051 nginx:
52 server:
53 site:
54 nginx_proxy_openstack_web:
55 proxy:
56 host: prx
57 nginx_proxy_openstack_api_heat_cfn:
58 enabled: false
Jiri Broulik432ae9c2017-08-17 10:24:23 +020059 salt:
60 master:
61 reactor:
62 reclass/minion/classify:
63 - salt://reclass/reactor/node_register.sls
Tatyana Leontovich3ca999a2017-04-11 12:52:19 +030064 reclass:
65 storage:
Jiri Broulik432ae9c2017-08-17 10:24:23 +020066 class_mapping:
67 common_node:
68 expression: all
69 node_param:
70 single_address:
71 value_template: <<node_control_ip>>
72 linux_system_codename:
73 value_template: <<node_os>>
74 salt_master_host:
75 value_template: <<node_master_ip>>
76 infra_config:
77 expression: <<node_hostname>>__startswith__cfg
78 cluster_param:
79 infra_config_address:
80 value_template: <<node_control_ip>>
81 infra_config_deploy_address:
82 value_template: <<node_deploy_ip>>
83 cluster_domain:
84 value_template: <<node_domain>>
85 openstack_control01:
86 expression: <<node_hostname>>__equals__ctl01
87 cluster_param:
88 openstack_control_node01_address:
89 value_template: <<node_control_ip>>
90 openstack_control02:
91 expression: <<node_hostname>>__equals__ctl02
92 cluster_param:
93 openstack_control_node02_address:
94 value_template: <<node_control_ip>>
95 openstack_control03:
96 expression: <<node_hostname>>__equals__ctl03
97 cluster_param:
98 openstack_control_node03_address:
99 value_template: <<node_control_ip>>
100 openstack_compute:
101 expression: <<node_hostname>>__startswith__cmp
102 node_class:
103 value_template:
104 - cluster.<<node_cluster>>.openstack.compute
105 node_param:
106 tenant_address:
107 value_template: <<node_tenant_ip>>
108 external_address:
109 value_template: <<node_external_ip>>
110 openstack_gateway:
111 expression: <<node_hostname>>__startswith__gtw
112 node_class:
113 value_template:
114 - cluster.<<node_cluster>>.openstack.gateway
115 node_param:
116 tenant_address:
117 value_template: <<node_tenant_ip>>
118 external_address:
119 value_template: <<node_external_ip>>
120 cluster_param:
121 openstack_gateway_node01_address:
122 value_template: <<node_control_ip>>
123 stacklight_monitor_node01:
124 expression: <<node_hostname>>__equals__mon01
125 cluster_param:
Olivier Bourdon1ad864b2017-09-06 14:09:15 +0200126 stacklight_monitor_node01_address:
Jiri Broulik432ae9c2017-08-17 10:24:23 +0200127 value_template: <<node_control_ip>>
128 stacklight_monitor_node02:
129 expression: <<node_hostname>>__equals__mon02
130 cluster_param:
Olivier Bourdon1ad864b2017-09-06 14:09:15 +0200131 stacklight_monitor_node02_address:
Jiri Broulik432ae9c2017-08-17 10:24:23 +0200132 value_template: <<node_control_ip>>
133 stacklight_monitor_node03:
134 expression: <<node_hostname>>__equals__mon03
135 cluster_param:
136 stacklight_monitor_node03_address:
137 value_template: <<node_control_ip>>
138 openstack_dashboard:
139 expression: <<node_hostname>>__startswith__prx
140 node_class:
141 value_template:
142 - cluster.<<node_cluster>>.openstack.dashboard
143 - cluster.<<node_cluster>>.openstack.proxy
144 cluster_param:
145 openstack_proxy_node01_address:
146 value_template: <<node_control_ip>>
Tatyana Leontovich3ca999a2017-04-11 12:52:19 +0300147 node:
148 openstack_control_node01:
149 classes:
150 - service.galera.master.cluster
151 params:
152 mysql_cluster_role: master
153 linux_system_codename: xenial
154 openstack_control_node02:
155 classes:
156 - service.galera.slave.cluster
157 params:
158 mysql_cluster_role: slave
159 linux_system_codename: xenial
160 openstack_control_node03:
161 classes:
162 - service.galera.slave.cluster
163 params:
164 mysql_cluster_role: slave
165 linux_system_codename: xenial
Jiri Broulik432ae9c2017-08-17 10:24:23 +0200166 stacklight_server_node01:
Tatyana Leontovich3d9baab2017-04-12 15:43:39 +0300167 classes:
Jiri Broulik432ae9c2017-08-17 10:24:23 +0200168 - system.influxdb.server.single
Jiri Broulikbf0a8af2017-08-22 13:38:47 +0200169 - system.influxdb.database.stacklight
170 openstack_compute_node01:
171 params:
172 single_address: 172.16.10.105
173 tenant_address: 10.1.0.105
174 external_address: 10.16.0.105
175 openstack_compute_node02:
176 params:
177 single_address: 172.16.10.106
178 tenant_address: 10.1.0.106
Jiri Broulikd3a38672017-08-22 14:15:09 +0200179 external_address: 10.16.0.106
180 openstack_gateway_node01:
181 params:
182 tenant_address: 10.1.0.110
Jiri Broulikde059892017-08-22 19:05:50 +0200183 external_address: 10.16.0.110
184 openstack_proxy_node01:
185 classes:
186 - cluster.virtual-mcp-ocata-dvr.openstack.proxy
187 params:
Olivier Bourdon1ad864b2017-09-06 14:09:15 +0200188 linux_system_codename: xenial