blob: f25cc49887aa909c8c45f3a2ea7d9738643edd63 [file] [log] [blame]
Vasyl Saienko91160482018-02-20 17:31:33 +02001classes:
2- service.git.client
3- system.linux.system.single
Tatyana Leontovichc07941e2018-03-20 16:04:15 +02004- system.linux.system.single.debian
Vasyl Saienko91160482018-02-20 17:31:33 +02005- system.linux.system.repo.mcp.salt
6- system.linux.system.repo.mcp.apt_mirantis.openstack
7- system.openssh.client.lab
Vasyl Saienko91160482018-02-20 17:31:33 +02008- system.salt.master.pkg
Dennis Dmitriev6635bfd2018-03-20 04:50:12 +02009- system.salt.master.api
Vasyl Saienko91160482018-02-20 17:31:33 +020010- system.reclass.storage.salt
11- system.salt.minion.ca.salt_master
12- system.salt.minion.cert.proxy
13- system.sphinx.server.doc.reclass
14- system.keystone.client.single
15- system.keystone.client.service.ceilometer
16- system.keystone.client.service.nova21
17- system.keystone.client.service.nova-placement
18- system.keystone.client.service.cinder3
19- system.keystone.client.service.designate
20- system.mysql.client.single
Tatyana Leontovich5bfb1e62018-02-22 19:39:09 +020021- system.reclass.storage.system.openstack_dns_cluster
Vasyl Saienko91160482018-02-20 17:31:33 +020022- system.reclass.storage.system.openstack_control_cluster
Tatyana Leontovich5bfb1e62018-02-22 19:39:09 +020023- system.reclass.storage.system.openstack_compute_multi
24- system.reclass.storage.system.openstack_gateway_single
25- system.reclass.storage.system.openstack_dashboard_single
26- system.reclass.storage.system.stacklightv2_server_cluster
Vasyl Saienko91160482018-02-20 17:31:33 +020027- cluster.virtual-mcp-pike-dvr-ssl.openstack.proxy
Tatyana Leontovich5bfb1e62018-02-22 19:39:09 +020028- cluster.virtual-mcp-pike-dvr-ssl.stacklight.proxy
Vasyl Saienko91160482018-02-20 17:31:33 +020029- cluster.virtual-mcp-pike-dvr-ssl
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"
37 reclass_config_master: 192.168.10.90
38 single_address: 172.16.10.100
39 salt_master_host: 127.0.0.1
40 salt_master_base_environment: prd
41 linux:
42 network:
43 interface:
44 ens4:
45 enabled: true
46 type: eth
47 proto: static
48 address: ${_param:single_address}
49 netmask: 255.255.255.0
50 nginx:
51 server:
52 site:
53 nginx_proxy_openstack_web:
54 proxy:
55 host: ${_param:openstack_proxy_address}
56 nginx_proxy_openstack_api_heat_cfn:
57 enabled: false
58 salt:
59 master:
60 reactor:
61 reclass/minion/classify:
62 - salt://reclass/reactor/node_register.sls
63 reclass:
64 storage:
65 class_mapping:
66 common_node:
67 expression: all
68 node_param:
69 single_address:
70 value_template: <<node_control_ip>>
71 linux_system_codename:
72 value_template: <<node_os>>
73 salt_master_host:
74 value_template: <<node_master_ip>>
75 infra_config:
76 expression: <<node_hostname>>__startswith__cfg
77 cluster_param:
78 infra_config_address:
79 value_template: <<node_control_ip>>
80 infra_config_deploy_address:
81 value_template: <<node_deploy_ip>>
82 cluster_domain:
83 value_template: <<node_domain>>
84 openstack_control01:
85 expression: <<node_hostname>>__equals__ctl01
86 cluster_param:
87 openstack_control_node01_address:
88 value_template: <<node_control_ip>>
89 openstack_control02:
90 expression: <<node_hostname>>__equals__ctl02
91 cluster_param:
92 openstack_control_node02_address:
93 value_template: <<node_control_ip>>
94 openstack_control03:
95 expression: <<node_hostname>>__equals__ctl03
96 cluster_param:
97 openstack_control_node03_address:
98 value_template: <<node_control_ip>>
99 openstack_compute:
100 expression: <<node_hostname>>__startswith__cmp
101 node_class:
102 value_template:
103 - cluster.<<node_cluster>>.openstack.compute
104 node_param:
105 tenant_address:
106 value_template: <<node_tenant_ip>>
107 external_address:
108 value_template: <<node_external_ip>>
109 openstack_gateway:
110 expression: <<node_hostname>>__startswith__gtw
111 node_class:
112 value_template:
113 - cluster.<<node_cluster>>.openstack.gateway
114 node_param:
115 tenant_address:
116 value_template: <<node_tenant_ip>>
117 external_address:
118 value_template: <<node_external_ip>>
119 cluster_param:
120 openstack_gateway_node01_address:
121 value_template: <<node_control_ip>>
122 stacklight_monitor_node01:
123 expression: <<node_hostname>>__equals__mon01
124 cluster_param:
125 stacklight_monitor_node01_address:
126 value_template: <<node_control_ip>>
127 stacklight_monitor_node02:
128 expression: <<node_hostname>>__equals__mon02
129 cluster_param:
130 stacklight_monitor_node02_address:
131 value_template: <<node_control_ip>>
132 stacklight_monitor_node03:
133 expression: <<node_hostname>>__equals__mon03
134 cluster_param:
135 stacklight_monitor_node03_address:
136 value_template: <<node_control_ip>>
137 openstack_dashboard:
138 expression: <<node_hostname>>__startswith__prx
139 node_class:
140 value_template:
141 - cluster.<<node_cluster>>.openstack.dashboard
142 - cluster.<<node_cluster>>.openstack.proxy
143 cluster_param:
144 openstack_proxy_node01_address:
145 value_template: <<node_control_ip>>
146 node:
147 openstack_control_node01:
148 classes:
149 - service.galera.master.cluster
150 params:
151 mysql_cluster_role: master
152 linux_system_codename: xenial
153 openstack_control_node02:
154 classes:
155 - service.galera.slave.cluster
156 params:
157 mysql_cluster_role: slave
158 linux_system_codename: xenial
159 openstack_control_node03:
160 classes:
161 - service.galera.slave.cluster
162 params:
163 mysql_cluster_role: slave
164 linux_system_codename: xenial
Tatyana Leontovich5bfb1e62018-02-22 19:39:09 +0200165 stacklight_server_node01:
166 classes:
167 - system.influxdb.server.single
168 - system.influxdb.database.stacklight
169 openstack_compute_node01:
170 params:
171 single_address: 172.16.10.105
172 tenant_address: 10.1.0.105
173 external_address: 10.16.0.105
174 openstack_compute_node02:
175 params:
176 single_address: 172.16.10.106
177 tenant_address: 10.1.0.106
178 external_address: 10.16.0.106
179 openstack_gateway_node01:
180 params:
181 tenant_address: 10.1.0.110
182 external_address: 10.16.0.110
183 openstack_proxy_node01:
184 classes:
185 - cluster.virtual-mcp-pike-dvr-ssl.openstack.proxy
186 params:
187 linux_system_codename: xenial