blob: e36368a7834237907d38b566c08820e66b461add [file] [log] [blame]
Marek Celoudbc643142017-04-07 15:02:38 +02001classes:
2- service.git.client
3- system.linux.system.single
4- system.linux.system.repo.mcp.salt
Petr Jediný90e83ef2017-06-28 16:33:04 +02005- system.linux.system.repo.mcp.openstack
Marek Celoudbc643142017-04-07 15:02:38 +02006- 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
Petr Jediný90e83ef2017-06-28 16:33:04 +020013- system.keystone.client.core
Marek Celoudbc643142017-04-07 15:02:38 +020014- system.keystone.client.service.aodh
15- system.keystone.client.service.ceilometer
Mykyta Karpin7bdd53f2017-06-07 18:09:08 +030016- system.keystone.client.service.designate
Petr Jediný90e83ef2017-06-28 16:33:04 +020017- system.keystone.client.service.cinder
18- system.keystone.client.service.cinder2
19- system.keystone.client.service.cinder3
20- system.keystone.client.service.glance
21- system.keystone.client.service.glare
22- system.keystone.client.service.heat
23- system.keystone.client.service.heat-cfn
24- system.keystone.client.service.keystone
25- system.keystone.client.service.neutron
26- system.keystone.client.service.nova-ec2
27- system.keystone.client.service.nova21
28- system.keystone.client.service.nova-placement
Marek Celoudbc643142017-04-07 15:02:38 +020029- system.mysql.client.single
30- system.reclass.storage.system.openstack_control_cluster
31- system.reclass.storage.system.opencontrail_control_cluster
Simon Pasquier6df5f842017-05-15 16:00:22 +020032- system.reclass.storage.system.stacklightv2_server_cluster
Marek Celoudbc643142017-04-07 15:02:38 +020033- cluster.virtual-mcp11-contrail.openstack.proxy
34- cluster.virtual-mcp11-contrail.stacklight.proxy
35- cluster.virtual-mcp11-contrail
36parameters:
37 _param:
38 reclass_data_repository: "https://gerrit.mcp.mirantis.net/salt-models/mcp-virtual-lab"
39 reclass_data_revision: master
40 reclass_config_master: 192.168.10.100
41 single_address: 172.16.10.100
42 salt_master_host: 127.0.0.1
43 salt_master_base_environment: prd
44 salt_minion_ca_host: ${linux:network:fqdn}
45 salt_api_password_hash: "$6$sGnRlxGf$al5jMCetLP.vfI/fTl3Z0N7Za1aeiexL487jAtyRABVfT3NlwZxQGVhO7S1N8OwS/34VHYwZQA8lkXwKMN/GS1"
46 linux:
47 network:
48 interface:
49 ens4:
50 enabled: true
51 type: eth
Petr Jediný9b3a0ed2017-04-13 15:12:09 +020052 proto: static
53 address: ${_param:single_address}
54 netmask: 255.255.255.0
Marek Celoudbc643142017-04-07 15:02:38 +020055 nginx:
56 server:
57 site:
58 nginx_proxy_openstack_web:
59 proxy:
60 host: prx
61 nginx_proxy_openstack_api_heat_cfn:
62 enabled: false
Jiri Broulik432ae9c2017-08-17 10:24:23 +020063 salt:
64 master:
65 reactor:
66 reclass/minion/classify:
67 - salt://reclass/reactor/node_register.sls
Marek Celoudbc643142017-04-07 15:02:38 +020068 reclass:
69 storage:
Jiri Broulik432ae9c2017-08-17 10:24:23 +020070 class_mapping:
71 common_node:
72 expression: all
73 node_param:
74 single_address:
75 value_template: <<node_control_ip>>
76 linux_system_codename:
77 value_template: <<node_os>>
78 salt_master_host:
79 value_template: <<node_master_ip>>
80 infra_config:
81 expression: <<node_hostname>>__startswith__cfg
82 cluster_param:
83 infra_config_address:
84 value_template: <<node_control_ip>>
85 infra_config_deploy_address:
86 value_template: <<node_deploy_ip>>
87 cluster_domain:
88 value_template: <<node_domain>>
89 openstack_control01:
90 expression: <<node_hostname>>__equals__ctl01
91 cluster_param:
92 openstack_control_node01_address:
93 value_template: <<node_control_ip>>
94 openstack_control02:
95 expression: <<node_hostname>>__equals__ctl02
96 cluster_param:
97 openstack_control_node02_address:
98 value_template: <<node_control_ip>>
99 openstack_control03:
100 expression: <<node_hostname>>__equals__ctl03
101 cluster_param:
102 openstack_control_node03_address:
103 value_template: <<node_control_ip>>
104 opencontrail_control01:
105 expression: <<node_hostname>>__equals__ntw01
106 cluster_param:
107 opencontrail_control_node01_address:
108 value_template: <<node_control_ip>>
109 opencontrail_control02:
110 expression: <<node_hostname>>__equals__ntw02
111 cluster_param:
112 opencontrail_control_node02_address:
113 value_template: <<node_control_ip>>
114 opencontrail_control03:
115 expression: <<node_hostname>>__equals__ntw03
116 cluster_param:
117 opencontrail_control_node03_address:
118 value_template: <<node_control_ip>>
119 openstack_compute:
120 expression: <<node_hostname>>__startswith__cmp
121 node_class:
122 value_template:
123 - cluster.<<node_cluster>>.openstack.compute
124 node_param:
125 tenant_address:
126 value_template: <<node_tenant_ip>>
127 external_address:
128 value_template: <<node_external_ip>>
129 stacklight_monitor_node01:
130 expression: <<node_hostname>>__equals__mon01
131 cluster_param:
132 stacklight_monitor_node03_address:
133 value_template: <<node_control_ip>>
134 stacklight_monitor_node02:
135 expression: <<node_hostname>>__equals__mon02
136 cluster_param:
137 stacklight_monitor_node03_address:
138 value_template: <<node_control_ip>>
139 stacklight_monitor_node03:
140 expression: <<node_hostname>>__equals__mon03
141 cluster_param:
142 stacklight_monitor_node03_address:
143 value_template: <<node_control_ip>>
144 openstack_dashboard:
145 expression: <<node_hostname>>__startswith__prx
146 node_class:
147 value_template:
148 - cluster.<<node_cluster>>.openstack.dashboard
149 - cluster.<<node_cluster>>.openstack.proxy
150 cluster_param:
151 openstack_proxy_node01_address:
152 value_template: <<node_control_ip>>
Marek Celoudbc643142017-04-07 15:02:38 +0200153 node:
154 openstack_control_node01:
155 classes:
156 - service.galera.master.cluster
157 params:
158 mysql_cluster_role: master
159 linux_system_codename: xenial
160 openstack_control_node02:
161 classes:
162 - service.galera.slave.cluster
163 params:
164 mysql_cluster_role: slave
165 linux_system_codename: xenial
166 openstack_control_node03:
167 classes:
168 - service.galera.slave.cluster
169 params:
170 mysql_cluster_role: slave
171 linux_system_codename: xenial
Jiri Broulik432ae9c2017-08-17 10:24:23 +0200172 stacklight_server_node01:
Marek Celoudbc643142017-04-07 15:02:38 +0200173 classes:
Jiri Broulik432ae9c2017-08-17 10:24:23 +0200174 - system.influxdb.server.single
175 - system.influxdb.database.stacklight