blob: f02b24c1dfbb4b577549c62043a67b8fe9c909d7 [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
Mykyta Karpin84b43392018-09-13 09:54:44 +030023 glusterfs_node_role: primary
Pavel Cizinskyc5945f92018-07-12 12:55:27 +020024 openstack_control_node02:
25 name: ${_param:openstack_control_node02_hostname}
26 domain: ${_param:cluster_domain}
27 classes:
28 - cluster.${_param:cluster_name}.openstack.control
29 params:
30 salt_master_host: ${_param:reclass_config_master}
31 linux_system_codename: ${_param:openstack_control_system_codename}
32 single_address: ${_param:openstack_control_node02_address}
33 keepalived_vip_priority: 104
Vasyl Saienko01eb3172018-07-16 13:44:53 +030034 openstack_node_role: secondary
Mykyta Karpin84b43392018-09-13 09:54:44 +030035 glusterfs_node_role: secondary
Pavel Cizinskyc5945f92018-07-12 12:55:27 +020036 openstack_control_node03:
37 name: ${_param:openstack_control_node03_hostname}
38 domain: ${_param:cluster_domain}
39 classes:
40 - cluster.${_param:cluster_name}.openstack.control
41 params:
42 salt_master_host: ${_param:reclass_config_master}
43 linux_system_codename: ${_param:openstack_control_system_codename}
44 single_address: ${_param:openstack_control_node03_address}
45 keepalived_vip_priority: 103
Vasyl Saienko01eb3172018-07-16 13:44:53 +030046 openstack_node_role: secondary
Mykyta Karpin84b43392018-09-13 09:54:44 +030047 glusterfs_node_role: secondary
Pavel Cizinskyc5945f92018-07-12 12:55:27 +020048 openstack_control_node04:
49 name: ${_param:openstack_control_node04_hostname}
50 domain: ${_param:cluster_domain}
51 classes:
52 - cluster.${_param:cluster_name}.openstack.control
53 params:
54 salt_master_host: ${_param:reclass_config_master}
55 linux_system_codename: ${_param:openstack_control_system_codename}
56 single_address: ${_param:openstack_control_node04_address}
57 keepalived_vip_priority: 102
Vasyl Saienko01eb3172018-07-16 13:44:53 +030058 openstack_node_role: secondary
Mykyta Karpin84b43392018-09-13 09:54:44 +030059 glusterfs_node_role: secondary
Pavel Cizinskyc5945f92018-07-12 12:55:27 +020060 openstack_control_node05:
61 name: ${_param:openstack_control_node05_hostname}
62 domain: ${_param:cluster_domain}
63 classes:
64 - cluster.${_param:cluster_name}.openstack.control
65 params:
66 salt_master_host: ${_param:reclass_config_master}
67 linux_system_codename: ${_param:openstack_control_system_codename}
68 single_address: ${_param:openstack_control_node05_address}
69 keepalived_vip_priority: 101
Vasyl Saienko01eb3172018-07-16 13:44:53 +030070 openstack_node_role: secondary
Mykyta Karpin84b43392018-09-13 09:54:44 +030071 glusterfs_node_role: secondary