blob: 213c73d4751d7ad36e0ff54229980b4f9bf1bb1a [file] [log] [blame]
Vasyl Saienko71547e62017-07-14 09:27:04 +03001classes:
2- service.git.client
3- system.linux.system.single
4- system.linux.system.repo.mcp.salt
Elena Ezhovaf42731a2017-07-27 17:13:48 +04005- system.linux.system.repo.mcp.openstack
Vasyl Saienko71547e62017-07-14 09:27:04 +03006- system.openssh.client.lab
7- system.salt.master.api
8- system.salt.master.pkg
9- system.salt.master.formula.pkg.baremetal
10- 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
19- system.keystone.client.service.ironic
20- system.keystone.client.service.nova-placement
21- system.mysql.client.single
22- system.reclass.storage.system.openstack_control_cluster
Vasyl Saienko71547e62017-07-14 09:27:04 +030023- system.reclass.storage.system.openstack_baremetal_single
Vasyl Saienko71547e62017-07-14 09:27:04 +030024- cluster.virtual-mcp11-ovs-ironic.openstack.proxy
25- cluster.virtual-mcp11-ovs-ironic.stacklight.proxy
26- cluster.virtual-mcp11-ovs-ironic
27parameters:
28 _param:
29 reclass_data_repository: https://gerrit.mcp.mirantis.net/salt-models/mcp-virtual-lab
30 reclass_data_revision: master
31 salt_master_environment_repository: "https://github.com/tcpcloud"
32 salt_master_environment_revision: master
33 reclass_config_master: 192.168.10.100
34 single_address: 172.16.10.100
35 salt_master_host: 127.0.0.1
36 salt_master_base_environment: prd
37 salt_minion_ca_host: ${linux:network:fqdn}
38 salt_api_password_hash: "$6$sGnRlxGf$al5jMCetLP.vfI/fTl3Z0N7Za1aeiexL487jAtyRABVfT3NlwZxQGVhO7S1N8OwS/34VHYwZQA8lkXwKMN/GS1"
39 linux:
40 network:
41 interface:
42 ens4:
43 enabled: true
44 type: eth
45 proto: static
46 address: ${_param:single_address}
47 netmask: 255.255.255.0
48 nginx:
49 server:
50 site:
51 nginx_proxy_openstack_web:
52 proxy:
53 host: prx
54 nginx_proxy_openstack_api_heat_cfn:
55 enabled: false
Jiri Broulik432ae9c2017-08-17 10:24:23 +020056 salt:
57 master:
58 reactor:
59 reclass/minion/classify:
60 - salt://reclass/reactor/node_register.sls
Vasyl Saienko71547e62017-07-14 09:27:04 +030061 reclass:
62 storage:
Jiri Broulik432ae9c2017-08-17 10:24:23 +020063 class_mapping:
64 common_node:
65 expression: all
66 node_param:
67 single_address:
68 value_template: <<node_control_ip>>
69 linux_system_codename:
70 value_template: <<node_os>>
71 salt_master_host:
72 value_template: <<node_master_ip>>
73 infra_config:
74 expression: <<node_hostname>>__startswith__cfg
75 cluster_param:
76 infra_config_address:
77 value_template: <<node_control_ip>>
78 infra_config_deploy_address:
79 value_template: <<node_deploy_ip>>
80 cluster_domain:
81 value_template: <<node_domain>>
82 openstack_control01:
83 expression: <<node_hostname>>__equals__ctl01
84 cluster_param:
85 openstack_control_node01_address:
86 value_template: <<node_control_ip>>
87 openstack_control02:
88 expression: <<node_hostname>>__equals__ctl02
89 cluster_param:
90 openstack_control_node02_address:
91 value_template: <<node_control_ip>>
92 openstack_control03:
93 expression: <<node_hostname>>__equals__ctl03
94 cluster_param:
95 openstack_control_node03_address:
96 value_template: <<node_control_ip>>
97 openstack_gateway:
98 expression: <<node_hostname>>__startswith__gtw
99 node_class:
100 value_template:
101 - cluster.<<node_cluster>>.openstack.gateway
102 node_param:
103 tenant_address:
104 value_template: <<node_tenant_ip>>
105 external_address:
106 value_template: <<node_external_ip>>
107 cluster_param:
108 openstack_gateway_node01_address:
109 value_template: <<node_control_ip>>
110 openstack_bmt:
111 expression: <<node_hostname>>__startswith__bmt
112 node_class:
113 value_template:
114 - cluster.<<node_cluster>>.openstack.baremetal
115 cluster_param:
116 openstack_baremetal_node01_address:
117 value_template: <<node_control_ip>>
Vasyl Saienko71547e62017-07-14 09:27:04 +0300118 node:
119 openstack_control_node01:
120 classes:
121 - service.galera.master.cluster
122 params:
123 mysql_cluster_role: master
124 linux_system_codename: xenial
125 openstack_control_node02:
126 classes:
127 - service.galera.slave.cluster
128 params:
129 mysql_cluster_role: slave
130 linux_system_codename: xenial
131 openstack_control_node03:
132 classes:
133 - service.galera.slave.cluster
134 params:
135 mysql_cluster_role: slave
136 linux_system_codename: xenial
Vasyl Saienko71547e62017-07-14 09:27:04 +0300137 openstack_baremetal_node01:
138 params:
139 single_baremetal_address: ${_param:openstack_baremetal_node01_baremetal_address}
140 keepalived_openstack_baremetal_vip_priority: 100
141 ironic_api_type: 'deploy'
142 tenant_address: 10.1.0.110
Jiri Broulik432ae9c2017-08-17 10:24:23 +0200143 external_address: 10.16.0.110