blob: 0211bf4d8692798e136f0290e01f2fc69b8ce876 [file] [log] [blame]
Jiri Broulikeaae24f2017-04-21 16:59:29 +02001classes:
2- service.git.client
3- system.linux.system.single
Jiri Broulikecc84f02017-04-25 18:50:30 +02004- system.linux.system.repo.mcp.openstack
Jiri Broulikeaae24f2017-04-21 16:59:29 +02005- system.linux.system.repo.mcp.salt
6- system.openssh.client.lab
Jiri Broulikeaae24f2017-04-21 16:59:29 +02007- system.salt.master.pkg
Dennis Dmitriev6635bfd2018-03-20 04:50:12 +02008- system.salt.master.api
Jiri Broulikeaae24f2017-04-21 16:59:29 +02009- 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
14- system.keystone.client.service.ceilometer
15- system.keystone.client.service.nova21
16- system.keystone.client.service.glare
17- system.keystone.client.service.cinder3
Mykyta Karpin7bdd53f2017-06-07 18:09:08 +030018- system.keystone.client.service.designate
Jiri Broulikeaae24f2017-04-21 16:59:29 +020019- system.mysql.client.single
20- system.reclass.storage.system.openstack_control_cluster
Jiri Broulikeaae24f2017-04-21 16:59:29 +020021- system.reclass.storage.system.stacklight_server_cluster
Jiri Broulik26104ab2017-08-17 16:40:33 +020022- system.reclass.storage.system.openstack_compute_multi
23- system.reclass.storage.system.openstack_dashboard_single
Jiri Broulikd3a38672017-08-22 14:15:09 +020024- system.reclass.storage.system.openstack_gateway_single
Jiri Broulikeaae24f2017-04-21 16:59:29 +020025- cluster.virtual-mcp11-ovs-dpdk.openstack.proxy
26- cluster.virtual-mcp11-ovs-dpdk.stacklight.proxy
27- cluster.virtual-mcp11-ovs-dpdk
28parameters:
29 _param:
30 reclass_data_repository: https://gerrit.mcp.mirantis.net/salt-models/mcp-virtual-lab
31 reclass_data_revision: master
32 salt_master_environment_repository: "https://github.com/tcpcloud"
33 salt_master_environment_revision: master
Olivier Bourdon5e343162017-09-05 07:52:15 +020034 reclass_config_master: 192.168.10.90
Jiri Broulikeaae24f2017-04-21 16:59:29 +020035 single_address: 172.16.10.100
36 salt_master_host: 127.0.0.1
37 salt_master_base_environment: prd
38 salt_minion_ca_host: ${linux:network:fqdn}
39 salt_api_password_hash: "$6$sGnRlxGf$al5jMCetLP.vfI/fTl3Z0N7Za1aeiexL487jAtyRABVfT3NlwZxQGVhO7S1N8OwS/34VHYwZQA8lkXwKMN/GS1"
40 linux:
41 network:
42 interface:
43 ens4:
44 enabled: true
45 type: eth
46 proto: static
47 address: ${_param:single_address}
48 netmask: 255.255.255.0
49 nginx:
50 server:
51 site:
52 nginx_proxy_openstack_web:
53 proxy:
54 host: prx
55 nginx_proxy_openstack_api_heat_cfn:
56 enabled: false
Jiri Broulik432ae9c2017-08-17 10:24:23 +020057 salt:
58 master:
59 reactor:
60 reclass/minion/classify:
61 - salt://reclass/reactor/node_register.sls
Jiri Broulikeaae24f2017-04-21 16:59:29 +020062 reclass:
63 storage:
Jiri Broulik432ae9c2017-08-17 10:24:23 +020064 class_mapping:
65 common_node:
66 expression: all
67 node_param:
68 single_address:
69 value_template: <<node_control_ip>>
70 linux_system_codename:
71 value_template: <<node_os>>
72 salt_master_host:
73 value_template: <<node_master_ip>>
74 infra_config:
75 expression: <<node_hostname>>__startswith__cfg
76 cluster_param:
77 infra_config_address:
78 value_template: <<node_control_ip>>
79 infra_config_deploy_address:
80 value_template: <<node_deploy_ip>>
81 cluster_domain:
82 value_template: <<node_domain>>
83 openstack_control01:
84 expression: <<node_hostname>>__equals__ctl01
85 cluster_param:
86 openstack_control_node01_address:
87 value_template: <<node_control_ip>>
88 openstack_control02:
89 expression: <<node_hostname>>__equals__ctl02
90 cluster_param:
91 openstack_control_node02_address:
92 value_template: <<node_control_ip>>
93 openstack_control03:
94 expression: <<node_hostname>>__equals__ctl03
95 cluster_param:
96 openstack_control_node03_address:
97 value_template: <<node_control_ip>>
98 openstack_compute:
99 expression: <<node_hostname>>__startswith__cmp
100 node_class:
101 value_template:
102 - cluster.<<node_cluster>>.openstack.compute
103 node_param:
104 tenant_address:
105 value_template: <<node_tenant_ip>>
106 external_address:
107 value_template: <<node_external_ip>>
108 openstack_gateway:
109 expression: <<node_hostname>>__startswith__gtw
110 node_class:
111 value_template:
112 - cluster.<<node_cluster>>.openstack.gateway
113 node_param:
114 tenant_address:
115 value_template: <<node_tenant_ip>>
116 external_address:
117 value_template: <<node_external_ip>>
118 cluster_param:
119 openstack_gateway_node01_address:
120 value_template: <<node_control_ip>>
121 stacklight_monitor_node01:
122 expression: <<node_hostname>>__equals__mon01
123 cluster_param:
Olivier Bourdon1ad864b2017-09-06 14:09:15 +0200124 stacklight_monitor_node01_address:
Jiri Broulik432ae9c2017-08-17 10:24:23 +0200125 value_template: <<node_control_ip>>
126 stacklight_monitor_node02:
127 expression: <<node_hostname>>__equals__mon02
128 cluster_param:
Olivier Bourdon1ad864b2017-09-06 14:09:15 +0200129 stacklight_monitor_node02_address:
Jiri Broulik432ae9c2017-08-17 10:24:23 +0200130 value_template: <<node_control_ip>>
131 stacklight_monitor_node03:
132 expression: <<node_hostname>>__equals__mon03
133 cluster_param:
134 stacklight_monitor_node03_address:
135 value_template: <<node_control_ip>>
136 openstack_dashboard:
137 expression: <<node_hostname>>__startswith__prx
138 node_class:
139 value_template:
140 - cluster.<<node_cluster>>.openstack.dashboard
141 - cluster.<<node_cluster>>.openstack.proxy
142 cluster_param:
143 openstack_proxy_node01_address:
144 value_template: <<node_control_ip>>
Jiri Broulikeaae24f2017-04-21 16:59:29 +0200145 node:
146 openstack_control_node01:
147 classes:
148 - service.galera.master.cluster
149 params:
150 mysql_cluster_role: master
151 linux_system_codename: xenial
152 openstack_control_node02:
153 classes:
154 - service.galera.slave.cluster
155 params:
156 mysql_cluster_role: slave
157 linux_system_codename: xenial
158 openstack_control_node03:
159 classes:
160 - service.galera.slave.cluster
161 params:
162 mysql_cluster_role: slave
163 linux_system_codename: xenial
Jiri Broulikeaae24f2017-04-21 16:59:29 +0200164 stacklight_server_node01:
165 classes:
166 - system.influxdb.server.single
167 - system.influxdb.database.stacklight
Jiri Broulik432ae9c2017-08-17 10:24:23 +0200168 openstack_compute_node01:
169 params:
170 dpdk0_name: ens5
171 dpdk0_pci: '"0000:00:05.0"'
Jiri Broulikbf0a8af2017-08-22 13:38:47 +0200172 single_address: 172.16.10.105
173 tenant_address: 10.1.0.105
174 external_address: 10.16.0.105
Jiri Broulik432ae9c2017-08-17 10:24:23 +0200175 openstack_compute_node02:
176 params:
177 dpdk0_name: ens5
Jiri Broulikbf0a8af2017-08-22 13:38:47 +0200178 dpdk0_pci: '"0000:00:05.0"'
179 single_address: 172.16.10.106
180 tenant_address: 10.1.0.106
181 external_address: 10.16.0.106
Jiri Broulikd3a38672017-08-22 14:15:09 +0200182 openstack_gateway_node01:
183 params:
184 tenant_address: 10.1.0.110
Jiri Broulikde059892017-08-22 19:05:50 +0200185 external_address: 10.16.0.110
186 openstack_proxy_node01:
187 classes:
188 - cluster.virtual-mcp11-ovs-dpdk.openstack.proxy
189 params:
Olivier Bourdon1ad864b2017-09-06 14:09:15 +0200190 linux_system_codename: xenial