blob: 8accdcf02a9459b0cf6e501b1404c7282dcb9b96 [file] [log] [blame]
Ales Komarekc12dd412017-06-27 16:24:42 +02001classes:
2- service.git.client
3- system.linux.system.single
4- system.linux.system.repo.mcp.salt
5- system.openssh.client.lab
6- system.salt.master.api
7- system.salt.master.pkg
8- system.reclass.storage.salt
9- system.salt.minion.ca.salt_master
10- system.salt.minion.cert.proxy
11- system.sphinx.server.doc.reclass
Petr Jediný3114a392017-08-02 15:21:09 +020012- system.keystone.client.core
Ales Komarekc12dd412017-06-27 16:24:42 +020013- system.keystone.client.service.aodh
14- system.keystone.client.service.ceilometer
Petr Jediný3114a392017-08-02 15:21:09 +020015#- system.keystone.client.service.designate
16- system.keystone.client.service.cinder
17- system.keystone.client.service.cinder2
Ales Komarekc12dd412017-06-27 16:24:42 +020018- system.keystone.client.service.cinder3
Petr Jediný3114a392017-08-02 15:21:09 +020019- system.keystone.client.service.glance
20- system.keystone.client.service.glare
21- system.keystone.client.service.heat
22- system.keystone.client.service.heat-cfn
23- system.keystone.client.service.keystone
24- system.keystone.client.service.neutron
25- system.keystone.client.service.nova-ec2
26- system.keystone.client.service.nova21
27- system.keystone.client.service.nova-placement
Jiri Broulikabd4e382017-07-21 17:24:22 +020028#- system.mysql.client.single
29- system.reclass.storage.system.openstack_control_single
Ales Komarekc12dd412017-06-27 16:24:42 +020030- system.reclass.storage.system.opencontrail_control_cluster
Ales Komarekc12dd412017-06-27 16:24:42 +020031- cluster.os_aio_contrail.openstack.proxy
32- cluster.os_aio_contrail
33parameters:
34 _param:
35 reclass_data_repository: "https://gerrit.mcp.mirantis.net/salt-models/mcp-virtual-lab"
36 reclass_data_revision: master
Adam Tengler81526202017-07-11 13:03:40 +000037 reclass_config_master: ${_param:infra_config_deploy_address}
38 single_address: ${_param:infra_config_address}
Ales Komarekc12dd412017-06-27 16:24:42 +020039 salt_master_host: 127.0.0.1
40 salt_master_base_environment: prd
41 salt_minion_ca_host: ${linux:network:fqdn}
42 salt_api_password_hash: "$6$sGnRlxGf$al5jMCetLP.vfI/fTl3Z0N7Za1aeiexL487jAtyRABVfT3NlwZxQGVhO7S1N8OwS/34VHYwZQA8lkXwKMN/GS1"
43 linux:
44 network:
45 interface:
46 ens4:
47 enabled: true
48 type: eth
49 proto: static
50 address: ${_param:single_address}
51 netmask: 255.255.255.0
52 nginx:
53 server:
54 site:
55 nginx_proxy_openstack_web:
56 proxy:
Jiri Broulikabd4e382017-07-21 17:24:22 +020057 host: ${_param:openstack_control_address}
Ales Komarekc12dd412017-06-27 16:24:42 +020058 nginx_proxy_openstack_api_heat_cfn:
59 enabled: false
Jiri Broulikabd4e382017-07-21 17:24:22 +020060 salt:
61 master:
62 reactor:
63 reclass/minion/classify:
64 - salt://reclass/reactor/node_register.sls
Ales Komarekc12dd412017-06-27 16:24:42 +020065 reclass:
66 storage:
Jiri Broulikabd4e382017-07-21 17:24:22 +020067 class_mapping:
68 common_node:
69 expression: all
70 node_param:
71 single_address:
72 value_template: <<node_control_ip>>
73 linux_system_codename:
74 value_template: <<node_os>>
75 salt_master_host:
76 value_template: <<node_master_ip>>
77 infra_config:
78 expression: <<node_hostname>>__startswith__cfg
79 cluster_param:
80 infra_config_address:
81 value_template: <<node_control_ip>>
82 infra_config_deploy_address:
83 value_template: <<node_deploy_ip>>
84 cluster_domain:
85 value_template: <<node_domain>>
86 openstack_control01:
87 expression: <<node_hostname>>__equals__ctl01
88 cluster_param:
89 openstack_control_node01_address:
90 value_template: <<node_control_ip>>
91 opencontrail_control01:
92 expression: <<node_hostname>>__equals__ntw01
93 cluster_param:
94 opencontrail_control_node01_address:
95 value_template: <<node_control_ip>>
96 opencontrail_control02:
97 expression: <<node_hostname>>__equals__ntw02
98 cluster_param:
99 opencontrail_control_node02_address:
100 value_template: <<node_control_ip>>
101 opencontrail_control03:
102 expression: <<node_hostname>>__equals__ntw03
103 cluster_param:
104 opencontrail_control_node03_address:
105 value_template: <<node_control_ip>>
106 openstack_compute:
107 expression: <<node_hostname>>__startswith__cmp
108 node_class:
109 value_template:
110 - cluster.<<node_cluster>>.openstack.compute
111 node_param:
112 tenant_address:
113 value_template: <<node_tenant_ip>>
114 external_address:
115 value_template: <<node_external_ip>>