blob: 2f03c3c4fd7589802d4458cde3c868e502e01cf4 [file] [log] [blame]
Jiri Broulikeaae24f2017-04-21 16:59:29 +02001classes:
2- service.git.client
3- system.linux.system.single
Tatyana Leontovichc07941e2018-03-20 16:04:15 +02004- system.linux.system.single.debian
Jiri Broulikecc84f02017-04-25 18:50:30 +02005- system.linux.system.repo.mcp.openstack
Jiri Broulikeaae24f2017-04-21 16:59:29 +02006- system.linux.system.repo.mcp.salt
7- system.openssh.client.lab
Jiri Broulikeaae24f2017-04-21 16:59:29 +02008- system.salt.master.pkg
Dennis Dmitriev6635bfd2018-03-20 04:50:12 +02009- system.salt.master.api
Jiri Broulikeaae24f2017-04-21 16:59:29 +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.glare
18- system.keystone.client.service.cinder3
Mykyta Karpin7bdd53f2017-06-07 18:09:08 +030019- system.keystone.client.service.designate
Jiri Broulikeaae24f2017-04-21 16:59:29 +020020- system.mysql.client.single
21- system.reclass.storage.system.openstack_control_cluster
Jiri Broulikeaae24f2017-04-21 16:59:29 +020022- system.reclass.storage.system.stacklight_server_cluster
Jiri Broulik26104ab2017-08-17 16:40:33 +020023- system.reclass.storage.system.openstack_compute_multi
24- system.reclass.storage.system.openstack_dashboard_single
Jiri Broulikd3a38672017-08-22 14:15:09 +020025- system.reclass.storage.system.openstack_gateway_single
Jiri Broulikeaae24f2017-04-21 16:59:29 +020026- cluster.virtual-mcp11-ovs-dpdk.openstack.proxy
27- cluster.virtual-mcp11-ovs-dpdk.stacklight.proxy
28- cluster.virtual-mcp11-ovs-dpdk
29parameters:
30 _param:
31 reclass_data_repository: https://gerrit.mcp.mirantis.net/salt-models/mcp-virtual-lab
32 reclass_data_revision: master
33 salt_master_environment_repository: "https://github.com/tcpcloud"
34 salt_master_environment_revision: master
Olivier Bourdon5e343162017-09-05 07:52:15 +020035 reclass_config_master: 192.168.10.90
Jiri Broulikeaae24f2017-04-21 16:59:29 +020036 single_address: 172.16.10.100
37 salt_master_host: 127.0.0.1
38 salt_master_base_environment: prd
39 salt_minion_ca_host: ${linux:network:fqdn}
40 salt_api_password_hash: "$6$sGnRlxGf$al5jMCetLP.vfI/fTl3Z0N7Za1aeiexL487jAtyRABVfT3NlwZxQGVhO7S1N8OwS/34VHYwZQA8lkXwKMN/GS1"
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: prx
56 nginx_proxy_openstack_api_heat_cfn:
57 enabled: false
Jiri Broulik432ae9c2017-08-17 10:24:23 +020058 salt:
59 master:
60 reactor:
61 reclass/minion/classify:
62 - salt://reclass/reactor/node_register.sls
Jiri Broulikeaae24f2017-04-21 16:59:29 +020063 reclass:
64 storage:
Jiri Broulik432ae9c2017-08-17 10:24:23 +020065 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:
Olivier Bourdon1ad864b2017-09-06 14:09:15 +0200125 stacklight_monitor_node01_address:
Jiri Broulik432ae9c2017-08-17 10:24:23 +0200126 value_template: <<node_control_ip>>
127 stacklight_monitor_node02:
128 expression: <<node_hostname>>__equals__mon02
129 cluster_param:
Olivier Bourdon1ad864b2017-09-06 14:09:15 +0200130 stacklight_monitor_node02_address:
Jiri Broulik432ae9c2017-08-17 10:24:23 +0200131 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>>
Jiri Broulikeaae24f2017-04-21 16:59:29 +0200146 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
Jiri Broulikeaae24f2017-04-21 16:59:29 +0200165 stacklight_server_node01:
166 classes:
167 - system.influxdb.server.single
168 - system.influxdb.database.stacklight
Jiri Broulik432ae9c2017-08-17 10:24:23 +0200169 openstack_compute_node01:
170 params:
171 dpdk0_name: ens5
172 dpdk0_pci: '"0000:00:05.0"'
Jiri Broulikbf0a8af2017-08-22 13:38:47 +0200173 single_address: 172.16.10.105
174 tenant_address: 10.1.0.105
175 external_address: 10.16.0.105
Jiri Broulik432ae9c2017-08-17 10:24:23 +0200176 openstack_compute_node02:
177 params:
178 dpdk0_name: ens5
Jiri Broulikbf0a8af2017-08-22 13:38:47 +0200179 dpdk0_pci: '"0000:00:05.0"'
180 single_address: 172.16.10.106
181 tenant_address: 10.1.0.106
182 external_address: 10.16.0.106
Jiri Broulikd3a38672017-08-22 14:15:09 +0200183 openstack_gateway_node01:
184 params:
185 tenant_address: 10.1.0.110
Jiri Broulikde059892017-08-22 19:05:50 +0200186 external_address: 10.16.0.110
187 openstack_proxy_node01:
188 classes:
189 - cluster.virtual-mcp11-ovs-dpdk.openstack.proxy
190 params:
Olivier Bourdon1ad864b2017-09-06 14:09:15 +0200191 linux_system_codename: xenial