blob: e05b3e9c231e1d38bf8774aeb116da1aa13a3572 [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
Ondrej Smola03ff34e2016-12-01 01:30:33 +010023 openstack_control_node02:
Ondrej Smola64bf5c82017-01-13 21:32:09 +010024 name: ${_param:openstack_control_node02_hostname}
Ondrej Smola03ff34e2016-12-01 01:30:33 +010025 domain: ${_param:cluster_domain}
26 classes:
27 - cluster.${_param:cluster_name}.openstack.control
28 params:
29 salt_master_host: ${_param:reclass_config_master}
Pavel Svimbersky44717ec2017-08-24 11:41:05 +020030 linux_system_codename: ${_param:openstack_control_system_codename}
Ondrej Smola03ff34e2016-12-01 01:30:33 +010031 single_address: ${_param:openstack_control_node02_address}
32 keepalived_vip_priority: 102
33 opencontrail_database_id: 2
34 rabbitmq_cluster_role: slave
Vasyl Saienko01eb3172018-07-16 13:44:53 +030035 openstack_node_role: secondary
Ondrej Smola03ff34e2016-12-01 01:30:33 +010036 openstack_control_node03:
Ondrej Smola64bf5c82017-01-13 21:32:09 +010037 name: ${_param:openstack_control_node03_hostname}
Ondrej Smola03ff34e2016-12-01 01:30:33 +010038 domain: ${_param:cluster_domain}
39 classes:
40 - cluster.${_param:cluster_name}.openstack.control
41 params:
42 salt_master_host: ${_param:reclass_config_master}
Pavel Svimbersky44717ec2017-08-24 11:41:05 +020043 linux_system_codename: ${_param:openstack_control_system_codename}
Ondrej Smola03ff34e2016-12-01 01:30:33 +010044 single_address: ${_param:openstack_control_node03_address}
45 keepalived_vip_priority: 101
46 opencontrail_database_id: 3
47 rabbitmq_cluster_role: slave
Vasyl Saienko01eb3172018-07-16 13:44:53 +030048 openstack_node_role: secondary