blob: 363b087cb1e5e93489b7af16ed51876129ec8dff [file] [log] [blame]
Vasyl Saienkob58c6412018-02-21 14:18:05 +02001classes:
2- service.git.client
3- system.linux.system.single
Tatyana Leontovichc07941e2018-03-20 16:04:15 +02004- system.linux.system.single.debian
Martin Polreicha0addcc2018-06-25 11:32:52 +02005- system.linux.system.repo.mcp.apt_mirantis.saltstack
Vasyl Saienkob58c6412018-02-21 14:18:05 +02006- system.linux.system.repo.mcp.openstack
7- system.openssh.client.lab
Vasyl Saienkob58c6412018-02-21 14:18:05 +02008- system.salt.master.pkg
Dennis Dmitriev6635bfd2018-03-20 04:50:12 +02009- system.salt.master.api
Vasyl Saienkob58c6412018-02-21 14:18:05 +020010- system.salt.master.formula.pkg.baremetal
11- system.reclass.storage.salt
12- system.salt.minion.ca.salt_master
13- system.salt.minion.cert.proxy
14- system.sphinx.server.doc.reclass
15- system.keystone.client.single
16- system.keystone.client.service.ceilometer
17- system.keystone.client.service.nova21
18- system.keystone.client.service.glare
19- system.keystone.client.service.cinder3
20- system.keystone.client.service.ironic
21- system.keystone.client.service.nova-placement
22- system.mysql.client.single
23- system.reclass.storage.system.openstack_control_cluster
24- system.reclass.storage.system.openstack_baremetal_single
25- system.reclass.storage.system.openstack_dashboard_single
26- system.reclass.storage.system.stacklight_server_cluster
27- cluster.virtual-mcp11-ovs-ironic-ssl.openstack.proxy
28- cluster.virtual-mcp11-ovs-ironic-ssl.stacklight.proxy
29- cluster.virtual-mcp11-ovs-ironic-ssl
30parameters:
31 _param:
32 reclass_data_repository: https://gerrit.mcp.mirantis.net/salt-models/mcp-virtual-lab
33 reclass_data_revision: master
34 reclass_config_master: ${_param:infra_config_deploy_address}
35 single_address: ${_param:infra_config_address}
36 salt_master_environment_repository: "https://github.com/tcpcloud"
37 salt_master_environment_revision: master
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
51 nginx:
52 server:
53 site:
54 nginx_proxy_openstack_web:
55 proxy:
56 host: ${_param:openstack_control_address}
57 nginx_proxy_openstack_api_heat_cfn:
58 enabled: false
59 salt:
60 master:
61 reactor:
62 reclass/minion/classify:
63 - salt://reclass/reactor/node_register.sls
64 environment:
65 prd:
66 formula:
67 baremetal_simulator:
68 name: salt-formula-baremetal-simulator
69 source: pkg
70 reclass:
71 storage:
72 class_mapping:
73 common_node:
74 expression: all
75 node_param:
76 single_address:
77 value_template: <<node_control_ip>>
78 linux_system_codename:
79 value_template: <<node_os>>
80 salt_master_host:
81 value_template: <<node_master_ip>>
82 infra_config:
83 expression: <<node_hostname>>__startswith__cfg
84 cluster_param:
85 infra_config_address:
86 value_template: <<node_control_ip>>
87 infra_config_deploy_address:
88 value_template: <<node_deploy_ip>>
89 cluster_domain:
90 value_template: <<node_domain>>
91 openstack_control01:
92 expression: <<node_hostname>>__equals__ctl01
93 cluster_param:
94 openstack_control_node01_address:
95 value_template: <<node_control_ip>>
96 openstack_control02:
97 expression: <<node_hostname>>__equals__ctl02
98 cluster_param:
99 openstack_control_node02_address:
100 value_template: <<node_control_ip>>
101 openstack_control03:
102 expression: <<node_hostname>>__equals__ctl03
103 cluster_param:
104 openstack_control_node03_address:
105 value_template: <<node_control_ip>>
106 openstack_compute:
107 expression: <<node_hostname>>__startswith__cmp
108 node_class:
109 value_template:
110 - cluster.<<node_cluster>>.openstack.compute
111 node_param:
112 tenant_address:
113 value_template: <<node_tenant_ip>>
114 external_address:
115 value_template: <<node_external_ip>>
116 openstack_gateway:
117 expression: <<node_hostname>>__startswith__gtw
118 node_class:
119 value_template:
120 - cluster.<<node_cluster>>.openstack.gateway
121 node_param:
122 tenant_address:
123 value_template: <<node_tenant_ip>>
124 external_address:
125 value_template: <<node_external_ip>>
126 cluster_param:
127 openstack_gateway_node01_address:
128 value_template: <<node_control_ip>>
129 openstack_bmt:
130 expression: <<node_hostname>>__startswith__bmt
131 node_class:
132 value_template:
133 - cluster.<<node_cluster>>.openstack.baremetal
134 cluster_param:
135 openstack_baremetal_node01_address:
136 value_template: <<node_control_ip>>
137 openstack_baremetal_node01_baremetal_address:
138 value_template: <<node_baremetal_ip>>
139 node:
140 openstack_control_node01:
141 classes:
142 - service.galera.master.cluster
Dennis Dmitriev100a5ff2018-09-18 16:36:39 +0300143 - service.galera.ssl.master
Vasyl Saienkob58c6412018-02-21 14:18:05 +0200144 params:
145 mysql_cluster_role: master
146 linux_system_codename: xenial
147 openstack_control_node02:
148 classes:
149 - service.galera.slave.cluster
Dennis Dmitriev100a5ff2018-09-18 16:36:39 +0300150 - service.galera.ssl.slave
Vasyl Saienkob58c6412018-02-21 14:18:05 +0200151 params:
152 mysql_cluster_role: slave
153 linux_system_codename: xenial
154 openstack_control_node03:
155 classes:
156 - service.galera.slave.cluster
Dennis Dmitriev100a5ff2018-09-18 16:36:39 +0300157 - service.galera.ssl.slave
Vasyl Saienkob58c6412018-02-21 14:18:05 +0200158 params:
159 mysql_cluster_role: slave
160 linux_system_codename: xenial
161 openstack_baremetal_node01:
162 params:
163 single_baremetal_address: ${_param:openstack_baremetal_node01_baremetal_address}
164 keepalived_openstack_baremetal_vip_priority: 100
165 ironic_api_type: 'deploy'
166 tenant_address: 10.1.0.110
167 external_address: 10.16.0.110