blob: 4d2a53c347d19ac451f323d45991b6de96e8cf88 [file] [log] [blame]
Aleksandr Shaposhnikov25eb1ff2018-02-26 17:56:29 +00001classes:
2- service.git.client
3- system.linux.system.single
Tatyana Leontovichc07941e2018-03-20 16:04:15 +02004- system.linux.system.single.debian
azvyagintsev98cba952018-07-13 12:40:53 +03005- system.linux.system.repo.mcp.apt_mirantis.saltstack
Aleksandr Shaposhnikov25eb1ff2018-02-26 17:56:29 +00006- system.linux.system.repo_local.mcp.apt_mirantis.openstack
Ondrej Smolac1b4bdd2018-03-13 15:12:38 +01007#- system.openssh.client.lab
Aleksandr Shaposhnikov25eb1ff2018-02-26 17:56:29 +00008- system.salt.master.pkg
Dennis Dmitriev6635bfd2018-03-20 04:50:12 +02009- system.salt.master.api
Aleksandr Shaposhnikov25eb1ff2018-02-26 17:56:29 +000010- system.reclass.storage.salt
11- system.salt.minion.ca.salt_master
12- system.salt.minion.cert.proxy
Aleksandr Shaposhnikov25eb1ff2018-02-26 17:56:29 +000013- system.keystone.client.single
14- system.keystone.client.service.aodh
15- system.keystone.client.service.ceilometer
16- system.keystone.client.service.nova21
17- system.keystone.client.service.nova-placement
18- system.keystone.client.service.glare
19- system.keystone.client.service.cinder3
20- system.keystone.client.service.designate
21- system.mysql.client.single
22- system.reclass.storage.system.openstack_control_cluster
23- 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
Ondrej Smolac1b4bdd2018-03-13 15:12:38 +010027- cluster.virtual-offline-pike-ovs-dpdk.infra.backup.client_common
Aleksandr Shaposhnikov25eb1ff2018-02-26 17:56:29 +000028- cluster.virtual-offline-pike-ovs-dpdk.stacklight.proxy
29- cluster.virtual-offline-pike-ovs-dpdk
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 reclass_config_master: 192.168.10.90
37 single_address: 172.16.10.100
38 salt_master_host: 127.0.0.1
39 salt_master_base_environment: prd
40 salt_minion_ca_host: ${linux:network:fqdn}
41 salt_api_password_hash: "$6$sGnRlxGf$al5jMCetLP.vfI/fTl3Z0N7Za1aeiexL487jAtyRABVfT3NlwZxQGVhO7S1N8OwS/34VHYwZQA8lkXwKMN/GS1"
42 linux:
43 network:
44 interface:
45 ens4:
46 enabled: true
47 type: eth
48 proto: static
49 address: ${_param:single_address}
50 netmask: 255.255.255.0
Aleksandr Shaposhnikov25eb1ff2018-02-26 17:56:29 +000051 salt:
52 master:
Ondrej Smolac1b4bdd2018-03-13 15:12:38 +010053 backup: true
Aleksandr Shaposhnikov25eb1ff2018-02-26 17:56:29 +000054 reactor:
55 reclass/minion/classify:
56 - salt://reclass/reactor/node_register.sls
Ondrej Smolac1b4bdd2018-03-13 15:12:38 +010057 minion:
58 backup: true
Aleksandr Shaposhnikov25eb1ff2018-02-26 17:56:29 +000059 reclass:
60 storage:
61 class_mapping:
62 common_node:
63 expression: all
64 node_param:
65 single_address:
66 value_template: <<node_control_ip>>
67 linux_system_codename:
68 value_template: <<node_os>>
69 salt_master_host:
70 value_template: <<node_master_ip>>
71 infra_config:
72 expression: <<node_hostname>>__startswith__cfg
73 cluster_param:
74 infra_config_address:
75 value_template: <<node_control_ip>>
76 infra_config_deploy_address:
77 value_template: <<node_deploy_ip>>
78 cluster_domain:
79 value_template: <<node_domain>>
80 openstack_control01:
81 expression: <<node_hostname>>__equals__ctl01
82 cluster_param:
83 openstack_control_node01_address:
84 value_template: <<node_control_ip>>
85 openstack_control02:
86 expression: <<node_hostname>>__equals__ctl02
87 cluster_param:
88 openstack_control_node02_address:
89 value_template: <<node_control_ip>>
90 openstack_control03:
91 expression: <<node_hostname>>__equals__ctl03
92 cluster_param:
93 openstack_control_node03_address:
94 value_template: <<node_control_ip>>
95 openstack_compute:
96 expression: <<node_hostname>>__startswith__cmp
97 node_class:
98 value_template:
99 - cluster.<<node_cluster>>.openstack.compute
100 node_param:
101 tenant_address:
102 value_template: <<node_tenant_ip>>
103 external_address:
104 value_template: <<node_external_ip>>
105 openstack_gateway:
106 expression: <<node_hostname>>__startswith__gtw
107 node_class:
108 value_template:
109 - cluster.<<node_cluster>>.openstack.gateway
110 node_param:
111 tenant_address:
112 value_template: <<node_tenant_ip>>
113 external_address:
114 value_template: <<node_external_ip>>
115 cluster_param:
116 openstack_gateway_node01_address:
117 value_template: <<node_control_ip>>
118 stacklight_monitor_node01:
119 expression: <<node_hostname>>__equals__mon01
120 cluster_param:
121 stacklight_monitor_node01_address:
122 value_template: <<node_control_ip>>
123 stacklight_monitor_node02:
124 expression: <<node_hostname>>__equals__mon02
125 cluster_param:
126 stacklight_monitor_node02_address:
127 value_template: <<node_control_ip>>
128 stacklight_monitor_node03:
129 expression: <<node_hostname>>__equals__mon03
130 cluster_param:
131 stacklight_monitor_node03_address:
132 value_template: <<node_control_ip>>
133 openstack_dashboard:
134 expression: <<node_hostname>>__startswith__prx
135 node_class:
136 value_template:
137 - cluster.<<node_cluster>>.openstack.dashboard
138 - cluster.<<node_cluster>>.openstack.proxy
139 cluster_param:
140 openstack_proxy_node01_address:
141 value_template: <<node_control_ip>>
142 node:
143 openstack_control_node01:
144 classes:
Ondrej Smolac1b4bdd2018-03-13 15:12:38 +0100145 - cluster.virtual-offline-pike-ovs-dpdk.infra.backup.client_mysql
Aleksandr Shaposhnikov25eb1ff2018-02-26 17:56:29 +0000146 - service.galera.master.cluster
147 params:
148 mysql_cluster_role: master
149 linux_system_codename: xenial
150 openstack_control_node02:
151 classes:
152 - service.galera.slave.cluster
153 params:
154 mysql_cluster_role: slave
155 linux_system_codename: xenial
156 openstack_control_node03:
157 classes:
Ondrej Smolac1b4bdd2018-03-13 15:12:38 +0100158 - cluster.virtual-offline-pike-ovs-dpdk.infra.backup.server
Aleksandr Shaposhnikov25eb1ff2018-02-26 17:56:29 +0000159 - service.galera.slave.cluster
160 params:
161 mysql_cluster_role: slave
162 linux_system_codename: xenial
163 stacklight_server_node01:
164 classes:
165 - system.influxdb.server.single
166 - system.influxdb.database.stacklight
167 openstack_compute_node01:
168 params:
Michael Polenchuk04a918b2018-07-16 13:59:24 +0400169 dpdk0_name: ens5
Tatyana Leontovich023db382018-07-18 15:21:51 +0300170 dpdk0_pci: '"0000:00:05.0"'
Aleksandr Shaposhnikov25eb1ff2018-02-26 17:56:29 +0000171 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:
Michael Polenchuk04a918b2018-07-16 13:59:24 +0400176 dpdk0_name: ens5
Tatyana Leontovich023db382018-07-18 15:21:51 +0300177 dpdk0_pci: '"0000:00:05.0"'
Aleksandr Shaposhnikov25eb1ff2018-02-26 17:56:29 +0000178 single_address: 172.16.10.106
179 tenant_address: 10.1.0.106
180 external_address: 10.16.0.106
181 openstack_gateway_node01:
182 params:
183 tenant_address: 10.1.0.110
184 external_address: 10.16.0.110
185 openstack_proxy_node01:
186 classes:
187 - cluster.virtual-offline-pike-ovs-dpdk.openstack.proxy
188 params:
189 linux_system_codename: xenial