blob: 4ad2e90128c47410078ae73bbc3e7f74a9774d89 [file] [log] [blame]
Pavel Cizinskyc5945f92018-07-12 12:55:27 +02001parameters:
2 _param:
3 openstack_control_node01_hostname: ctl01
4 openstack_control_node02_hostname: ctl02
5 openstack_control_node03_hostname: ctl03
6 openstack_control_node04_hostname: ctl04
7 openstack_control_node05_hostname: ctl05
8 openstack_control_system_codename: xenial
9 reclass:
10 storage:
11 node:
12 openstack_control_node01:
13 name: ${_param:openstack_control_node01_hostname}
14 domain: ${_param:cluster_domain}
15 classes:
16 - cluster.${_param:cluster_name}.openstack.control
17 params:
18 salt_master_host: ${_param:reclass_config_master}
19 linux_system_codename: ${_param:openstack_control_system_codename}
20 single_address: ${_param:openstack_control_node01_address}
21 keepalived_vip_priority: 105
Vasyl Saienko01eb3172018-07-16 13:44:53 +030022 openstack_node_role: primary
Pavel Cizinskyc5945f92018-07-12 12:55:27 +020023 openstack_control_node02:
24 name: ${_param:openstack_control_node02_hostname}
25 domain: ${_param:cluster_domain}
26 classes:
27 - cluster.${_param:cluster_name}.openstack.control
28 params:
29 salt_master_host: ${_param:reclass_config_master}
30 linux_system_codename: ${_param:openstack_control_system_codename}
31 single_address: ${_param:openstack_control_node02_address}
32 keepalived_vip_priority: 104
Vasyl Saienko01eb3172018-07-16 13:44:53 +030033 openstack_node_role: secondary
Pavel Cizinskyc5945f92018-07-12 12:55:27 +020034 openstack_control_node03:
35 name: ${_param:openstack_control_node03_hostname}
36 domain: ${_param:cluster_domain}
37 classes:
38 - cluster.${_param:cluster_name}.openstack.control
39 params:
40 salt_master_host: ${_param:reclass_config_master}
41 linux_system_codename: ${_param:openstack_control_system_codename}
42 single_address: ${_param:openstack_control_node03_address}
43 keepalived_vip_priority: 103
Vasyl Saienko01eb3172018-07-16 13:44:53 +030044 openstack_node_role: secondary
Pavel Cizinskyc5945f92018-07-12 12:55:27 +020045 openstack_control_node04:
46 name: ${_param:openstack_control_node04_hostname}
47 domain: ${_param:cluster_domain}
48 classes:
49 - cluster.${_param:cluster_name}.openstack.control
50 params:
51 salt_master_host: ${_param:reclass_config_master}
52 linux_system_codename: ${_param:openstack_control_system_codename}
53 single_address: ${_param:openstack_control_node04_address}
54 keepalived_vip_priority: 102
Vasyl Saienko01eb3172018-07-16 13:44:53 +030055 openstack_node_role: secondary
Pavel Cizinskyc5945f92018-07-12 12:55:27 +020056 openstack_control_node05:
57 name: ${_param:openstack_control_node05_hostname}
58 domain: ${_param:cluster_domain}
59 classes:
60 - cluster.${_param:cluster_name}.openstack.control
61 params:
62 salt_master_host: ${_param:reclass_config_master}
63 linux_system_codename: ${_param:openstack_control_system_codename}
64 single_address: ${_param:openstack_control_node05_address}
65 keepalived_vip_priority: 101
Vasyl Saienko01eb3172018-07-16 13:44:53 +030066 openstack_node_role: secondary