blob: ff6592ff5ead3c3220985187bfc517ccb201d7d0 [file] [log] [blame]
Vasyl Saienkof704d5e2017-06-12 17:11:54 +03001parameters:
2 _param:
3 openstack_baremetal_node01_hostname: bmt01
4 openstack_baremetal_node02_hostname: bmt02
5 openstack_baremetal_node03_hostname: bmt03
6
7 openstack_baremetal_node01_baremetal_address: ${_param:single_address}
8 openstack_baremetal_node02_baremetal_address: ${_param:single_address}
9 openstack_baremetal_node03_baremetal_address: ${_param:single_address}
10 reclass:
11 storage:
12 node:
13 openstack_baremetal_node01:
14 name: ${_param:openstack_baremetal_node01_hostname}
15 domain: ${_param:cluster_domain}
16 classes:
17 - cluster.${_param:cluster_name}.openstack.baremetal
18 params:
19 salt_master_host: ${_param:reclass_config_master}
20 linux_system_codename: ${_param:linux_system_codename}
21 single_address: ${_param:openstack_baremetal_node01_address}
Andrey Shestakov19b2cbf2017-08-19 15:28:00 +030022 keepalived_vip_priority: 101
Vasyl Saienkof704d5e2017-06-12 17:11:54 +030023 baremetal_address: ${_param:openstack_baremetal_node01_baremetal_address}
Vasyl Saienko01eb3172018-07-16 13:44:53 +030024 openstack_node_role: primary
Vasyl Saienkof704d5e2017-06-12 17:11:54 +030025 openstack_baremetal_node02:
26 name: ${_param:openstack_baremetal_node02_hostname}
27 domain: ${_param:cluster_domain}
28 classes:
29 - cluster.${_param:cluster_name}.openstack.baremetal
30 params:
31 salt_master_host: ${_param:reclass_config_master}
32 linux_system_codename: ${_param:linux_system_codename}
33 single_address: ${_param:openstack_baremetal_node02_address}
Andrey Shestakov19b2cbf2017-08-19 15:28:00 +030034 keepalived_vip_priority: 102
Vasyl Saienkof704d5e2017-06-12 17:11:54 +030035 baremetal_address: ${_param:openstack_baremetal_node02_baremetal_address}
Vasyl Saienko01eb3172018-07-16 13:44:53 +030036 openstack_node_role: secondary
Vasyl Saienkof704d5e2017-06-12 17:11:54 +030037 openstack_baremetal_node03:
38 name: ${_param:openstack_baremetal_node03_hostname}
39 domain: ${_param:cluster_domain}
40 classes:
41 - cluster.${_param:cluster_name}.openstack.baremetal
42 params:
43 salt_master_host: ${_param:reclass_config_master}
44 linux_system_codename: ${_param:linux_system_codename}
45 single_address: ${_param:openstack_baremetal_node03_address}
Andrey Shestakov19b2cbf2017-08-19 15:28:00 +030046 keepalived_vip_priority: 103
Vasyl Saienkof704d5e2017-06-12 17:11:54 +030047 baremetal_address: ${_param:openstack_baremetal_node03_baremetal_address}
Vasyl Saienko01eb3172018-07-16 13:44:53 +030048 openstack_node_role: secondary
Vasyl Saienkof704d5e2017-06-12 17:11:54 +030049
50