blob: cf21437c5374514dc4846ca2be77c9cc34f32be8 [file] [log] [blame]
Ondrej Smola03ff34e2016-12-01 01:30:33 +01001parameters:
Ondrej Smola64bf5c82017-01-13 21:32:09 +01002 _param:
3 openstack_control_node01_hostname: ctl01
4 openstack_control_node02_hostname: ctl02
5 openstack_control_node03_hostname: ctl03
Pavel Svimbersky44717ec2017-08-24 11:41:05 +02006 openstack_control_system_codename: trusty
Ondrej Smola03ff34e2016-12-01 01:30:33 +01007 reclass:
8 storage:
9 node:
10 openstack_control_node01:
Ondrej Smola64bf5c82017-01-13 21:32:09 +010011 name: ${_param:openstack_control_node01_hostname}
Ondrej Smola03ff34e2016-12-01 01:30:33 +010012 domain: ${_param:cluster_domain}
13 classes:
14 - cluster.${_param:cluster_name}.openstack.control
15 params:
16 salt_master_host: ${_param:reclass_config_master}
Pavel Svimbersky44717ec2017-08-24 11:41:05 +020017 linux_system_codename: ${_param:openstack_control_system_codename}
Ondrej Smola03ff34e2016-12-01 01:30:33 +010018 single_address: ${_param:openstack_control_node01_address}
19 keepalived_vip_priority: 103
20 opencontrail_database_id: 1
21 rabbitmq_cluster_role: master
Vasyl Saienko01eb3172018-07-16 13:44:53 +030022 openstack_node_role: primary
Mykyta Karpin84b43392018-09-13 09:54:44 +030023 glusterfs_node_role: primary
Ondrej Smola03ff34e2016-12-01 01:30:33 +010024 openstack_control_node02:
Ondrej Smola64bf5c82017-01-13 21:32:09 +010025 name: ${_param:openstack_control_node02_hostname}
Ondrej Smola03ff34e2016-12-01 01:30:33 +010026 domain: ${_param:cluster_domain}
27 classes:
28 - cluster.${_param:cluster_name}.openstack.control
29 params:
30 salt_master_host: ${_param:reclass_config_master}
Pavel Svimbersky44717ec2017-08-24 11:41:05 +020031 linux_system_codename: ${_param:openstack_control_system_codename}
Ondrej Smola03ff34e2016-12-01 01:30:33 +010032 single_address: ${_param:openstack_control_node02_address}
33 keepalived_vip_priority: 102
34 opencontrail_database_id: 2
35 rabbitmq_cluster_role: slave
Vasyl Saienko01eb3172018-07-16 13:44:53 +030036 openstack_node_role: secondary
Mykyta Karpin84b43392018-09-13 09:54:44 +030037 glusterfs_node_role: secondary
Ondrej Smola03ff34e2016-12-01 01:30:33 +010038 openstack_control_node03:
Ondrej Smola64bf5c82017-01-13 21:32:09 +010039 name: ${_param:openstack_control_node03_hostname}
Ondrej Smola03ff34e2016-12-01 01:30:33 +010040 domain: ${_param:cluster_domain}
41 classes:
42 - cluster.${_param:cluster_name}.openstack.control
43 params:
44 salt_master_host: ${_param:reclass_config_master}
Pavel Svimbersky44717ec2017-08-24 11:41:05 +020045 linux_system_codename: ${_param:openstack_control_system_codename}
Ondrej Smola03ff34e2016-12-01 01:30:33 +010046 single_address: ${_param:openstack_control_node03_address}
47 keepalived_vip_priority: 101
48 opencontrail_database_id: 3
49 rabbitmq_cluster_role: slave
Vasyl Saienko01eb3172018-07-16 13:44:53 +030050 openstack_node_role: secondary
Mykyta Karpin84b43392018-09-13 09:54:44 +030051 glusterfs_node_role: secondary