blob: c86ed5bae73f6d9d8c2bc42e3ce9d2781078194f [file] [log] [blame]
Jeepyb Userdd14e0b2017-02-28 15:19:32 +00001classes:
2- service.git.client
3- system.linux.system.single
Ondrej Smola6b5d0aa2017-03-22 18:15:38 +01004- system.linux.system.repo.mcp.salt
Jeepyb Userdd14e0b2017-02-28 15:19:32 +00005- system.openssh.client.lab
6- system.salt.master.api
7- system.salt.master.pkg
8- system.reclass.storage.salt
9- system.salt.minion.ca.salt_master
10- system.salt.minion.cert.proxy
11- system.sphinx.server.doc.reclass
12- system.keystone.client.single
13- system.keystone.client.service.aodh
14- system.keystone.client.service.ceilometer
15- system.keystone.client.service.nova21
16- system.mysql.client.single
17- system.reclass.storage.system.openstack_control_cluster
Jiri Broulik26104ab2017-08-17 16:40:33 +020018- system.reclass.storage.system.openstack_compute_multi
19- system.reclass.storage.system.openstack_dashboard_single
20- system.reclass.storage.system.openstack_proxy_single
Jeepyb Userdd14e0b2017-02-28 15:19:32 +000021- system.reclass.storage.system.stacklight_server_cluster
22- cluster.virtual-mcp10-contrail.openstack.proxy
23- cluster.virtual-mcp10-contrail.stacklight.proxy
24- cluster.virtual-mcp10-contrail
25parameters:
26 _param:
Tomáš Kukrál2c7026a2017-03-08 18:19:53 +010027 reclass_data_repository: "https://gerrit.mcp.mirantis.net/salt-models/mcp-virtual-lab"
Jeepyb Userdd14e0b2017-02-28 15:19:32 +000028 reclass_data_revision: master
29 reclass_config_master: 192.168.10.100
30 single_address: 172.16.10.100
31 salt_master_host: 127.0.0.1
32 salt_master_base_environment: prd
33 salt_minion_ca_host: ${linux:network:fqdn}
34 salt_api_password_hash: "$6$sGnRlxGf$al5jMCetLP.vfI/fTl3Z0N7Za1aeiexL487jAtyRABVfT3NlwZxQGVhO7S1N8OwS/34VHYwZQA8lkXwKMN/GS1"
35 linux:
36 network:
37 interface:
38 ens4:
39 enabled: true
40 type: eth
Petr Jediný9b3a0ed2017-04-13 15:12:09 +020041 proto: static
42 address: ${_param:single_address}
43 netmask: 255.255.255.0
Jeepyb Userdd14e0b2017-02-28 15:19:32 +000044 nginx:
45 server:
46 site:
47 nginx_proxy_openstack_web:
48 proxy:
49 host: prx
50 nginx_proxy_openstack_api_heat_cfn:
51 enabled: false
Jiri Broulik432ae9c2017-08-17 10:24:23 +020052 salt:
53 master:
54 reactor:
55 reclass/minion/classify:
56 - salt://reclass/reactor/node_register.sls
Jeepyb Userdd14e0b2017-02-28 15:19:32 +000057 reclass:
58 storage:
Jiri Broulik432ae9c2017-08-17 10:24:23 +020059 class_mapping:
60 common_node:
61 expression: all
62 node_param:
63 single_address:
64 value_template: <<node_control_ip>>
65 linux_system_codename:
66 value_template: <<node_os>>
67 salt_master_host:
68 value_template: <<node_master_ip>>
69 infra_config:
70 expression: <<node_hostname>>__startswith__cfg
71 cluster_param:
72 infra_config_address:
73 value_template: <<node_control_ip>>
74 infra_config_deploy_address:
75 value_template: <<node_deploy_ip>>
76 cluster_domain:
77 value_template: <<node_domain>>
78 openstack_control01:
79 expression: <<node_hostname>>__equals__ctl01
80 cluster_param:
81 openstack_control_node01_address:
82 value_template: <<node_control_ip>>
83 openstack_control02:
84 expression: <<node_hostname>>__equals__ctl02
85 cluster_param:
86 openstack_control_node02_address:
87 value_template: <<node_control_ip>>
88 openstack_control03:
89 expression: <<node_hostname>>__equals__ctl03
90 cluster_param:
91 openstack_control_node03_address:
92 value_template: <<node_control_ip>>
93 opencontrail_control01:
94 expression: <<node_hostname>>__equals__ntw01
95 cluster_param:
96 opencontrail_control_node01_address:
97 value_template: <<node_control_ip>>
98 opencontrail_control02:
99 expression: <<node_hostname>>__equals__ntw02
100 cluster_param:
101 opencontrail_control_node02_address:
102 value_template: <<node_control_ip>>
103 opencontrail_control03:
104 expression: <<node_hostname>>__equals__ntw03
105 cluster_param:
106 opencontrail_control_node03_address:
107 value_template: <<node_control_ip>>
108 openstack_compute:
109 expression: <<node_hostname>>__startswith__cmp
110 node_class:
111 value_template:
112 - cluster.<<node_cluster>>.openstack.compute
113 node_param:
114 tenant_address:
115 value_template: <<node_tenant_ip>>
116 external_address:
117 value_template: <<node_external_ip>>
118 stacklight_monitor_node01:
119 expression: <<node_hostname>>__equals__mon01
120 cluster_param:
121 stacklight_monitor_node03_address:
122 value_template: <<node_control_ip>>
123 stacklight_monitor_node02:
124 expression: <<node_hostname>>__equals__mon02
125 cluster_param:
126 stacklight_monitor_node03_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>>
Jeepyb Userdd14e0b2017-02-28 15:19:32 +0000142 node:
143 openstack_control_node01:
144 classes:
145 - service.galera.master.cluster
146 params:
147 mysql_cluster_role: master
Jiri Broulik432ae9c2017-08-17 10:24:23 +0200148 linux_system_codename: xenial
Jeepyb Userdd14e0b2017-02-28 15:19:32 +0000149 openstack_control_node02:
150 classes:
151 - service.galera.slave.cluster
152 params:
153 mysql_cluster_role: slave
Jiri Broulik432ae9c2017-08-17 10:24:23 +0200154 linux_system_codename: xenial
Jeepyb Userdd14e0b2017-02-28 15:19:32 +0000155 openstack_control_node03:
156 classes:
157 - service.galera.slave.cluster
158 params:
159 mysql_cluster_role: slave
Jiri Broulik432ae9c2017-08-17 10:24:23 +0200160 linux_system_codename: xenial
Jeepyb Userdd14e0b2017-02-28 15:19:32 +0000161 stacklight_server_node01:
162 classes:
163 - system.influxdb.server.single
164 - system.influxdb.database.stacklight
Jiri Broulikd3a38672017-08-22 14:15:09 +0200165 openstack_proxy_node01:
166 classes:
167 - cluster.virtual-mcp10-contrail.openstack.proxy