Jiri Broulik | eaae24f | 2017-04-21 16:59:29 +0200 | [diff] [blame] | 1 | classes: |
| 2 | - service.git.client |
| 3 | - system.linux.system.single |
Tatyana Leontovich | c07941e | 2018-03-20 16:04:15 +0200 | [diff] [blame^] | 4 | - system.linux.system.single.debian |
Jiri Broulik | ecc84f0 | 2017-04-25 18:50:30 +0200 | [diff] [blame] | 5 | - system.linux.system.repo.mcp.openstack |
Jiri Broulik | eaae24f | 2017-04-21 16:59:29 +0200 | [diff] [blame] | 6 | - system.linux.system.repo.mcp.salt |
| 7 | - system.openssh.client.lab |
Jiri Broulik | eaae24f | 2017-04-21 16:59:29 +0200 | [diff] [blame] | 8 | - system.salt.master.pkg |
Dennis Dmitriev | 6635bfd | 2018-03-20 04:50:12 +0200 | [diff] [blame] | 9 | - system.salt.master.api |
Jiri Broulik | eaae24f | 2017-04-21 16:59:29 +0200 | [diff] [blame] | 10 | - system.reclass.storage.salt |
| 11 | - system.salt.minion.ca.salt_master |
| 12 | - system.salt.minion.cert.proxy |
| 13 | - system.sphinx.server.doc.reclass |
| 14 | - system.keystone.client.single |
| 15 | - system.keystone.client.service.ceilometer |
| 16 | - system.keystone.client.service.nova21 |
| 17 | - system.keystone.client.service.glare |
| 18 | - system.keystone.client.service.cinder3 |
Mykyta Karpin | 7bdd53f | 2017-06-07 18:09:08 +0300 | [diff] [blame] | 19 | - system.keystone.client.service.designate |
Jiri Broulik | eaae24f | 2017-04-21 16:59:29 +0200 | [diff] [blame] | 20 | - system.mysql.client.single |
| 21 | - system.reclass.storage.system.openstack_control_cluster |
Jiri Broulik | eaae24f | 2017-04-21 16:59:29 +0200 | [diff] [blame] | 22 | - system.reclass.storage.system.stacklight_server_cluster |
Jiri Broulik | 26104ab | 2017-08-17 16:40:33 +0200 | [diff] [blame] | 23 | - system.reclass.storage.system.openstack_compute_multi |
| 24 | - system.reclass.storage.system.openstack_dashboard_single |
Jiri Broulik | d3a3867 | 2017-08-22 14:15:09 +0200 | [diff] [blame] | 25 | - system.reclass.storage.system.openstack_gateway_single |
Jiri Broulik | eaae24f | 2017-04-21 16:59:29 +0200 | [diff] [blame] | 26 | - cluster.virtual-mcp11-ovs-dpdk.openstack.proxy |
| 27 | - cluster.virtual-mcp11-ovs-dpdk.stacklight.proxy |
| 28 | - cluster.virtual-mcp11-ovs-dpdk |
| 29 | parameters: |
| 30 | _param: |
| 31 | reclass_data_repository: https://gerrit.mcp.mirantis.net/salt-models/mcp-virtual-lab |
| 32 | reclass_data_revision: master |
| 33 | salt_master_environment_repository: "https://github.com/tcpcloud" |
| 34 | salt_master_environment_revision: master |
Olivier Bourdon | 5e34316 | 2017-09-05 07:52:15 +0200 | [diff] [blame] | 35 | reclass_config_master: 192.168.10.90 |
Jiri Broulik | eaae24f | 2017-04-21 16:59:29 +0200 | [diff] [blame] | 36 | single_address: 172.16.10.100 |
| 37 | salt_master_host: 127.0.0.1 |
| 38 | salt_master_base_environment: prd |
| 39 | salt_minion_ca_host: ${linux:network:fqdn} |
| 40 | salt_api_password_hash: "$6$sGnRlxGf$al5jMCetLP.vfI/fTl3Z0N7Za1aeiexL487jAtyRABVfT3NlwZxQGVhO7S1N8OwS/34VHYwZQA8lkXwKMN/GS1" |
| 41 | linux: |
| 42 | network: |
| 43 | interface: |
| 44 | ens4: |
| 45 | enabled: true |
| 46 | type: eth |
| 47 | proto: static |
| 48 | address: ${_param:single_address} |
| 49 | netmask: 255.255.255.0 |
| 50 | nginx: |
| 51 | server: |
| 52 | site: |
| 53 | nginx_proxy_openstack_web: |
| 54 | proxy: |
| 55 | host: prx |
| 56 | nginx_proxy_openstack_api_heat_cfn: |
| 57 | enabled: false |
Jiri Broulik | 432ae9c | 2017-08-17 10:24:23 +0200 | [diff] [blame] | 58 | salt: |
| 59 | master: |
| 60 | reactor: |
| 61 | reclass/minion/classify: |
| 62 | - salt://reclass/reactor/node_register.sls |
Jiri Broulik | eaae24f | 2017-04-21 16:59:29 +0200 | [diff] [blame] | 63 | reclass: |
| 64 | storage: |
Jiri Broulik | 432ae9c | 2017-08-17 10:24:23 +0200 | [diff] [blame] | 65 | class_mapping: |
| 66 | common_node: |
| 67 | expression: all |
| 68 | node_param: |
| 69 | single_address: |
| 70 | value_template: <<node_control_ip>> |
| 71 | linux_system_codename: |
| 72 | value_template: <<node_os>> |
| 73 | salt_master_host: |
| 74 | value_template: <<node_master_ip>> |
| 75 | infra_config: |
| 76 | expression: <<node_hostname>>__startswith__cfg |
| 77 | cluster_param: |
| 78 | infra_config_address: |
| 79 | value_template: <<node_control_ip>> |
| 80 | infra_config_deploy_address: |
| 81 | value_template: <<node_deploy_ip>> |
| 82 | cluster_domain: |
| 83 | value_template: <<node_domain>> |
| 84 | openstack_control01: |
| 85 | expression: <<node_hostname>>__equals__ctl01 |
| 86 | cluster_param: |
| 87 | openstack_control_node01_address: |
| 88 | value_template: <<node_control_ip>> |
| 89 | openstack_control02: |
| 90 | expression: <<node_hostname>>__equals__ctl02 |
| 91 | cluster_param: |
| 92 | openstack_control_node02_address: |
| 93 | value_template: <<node_control_ip>> |
| 94 | openstack_control03: |
| 95 | expression: <<node_hostname>>__equals__ctl03 |
| 96 | cluster_param: |
| 97 | openstack_control_node03_address: |
| 98 | value_template: <<node_control_ip>> |
| 99 | openstack_compute: |
| 100 | expression: <<node_hostname>>__startswith__cmp |
| 101 | node_class: |
| 102 | value_template: |
| 103 | - cluster.<<node_cluster>>.openstack.compute |
| 104 | node_param: |
| 105 | tenant_address: |
| 106 | value_template: <<node_tenant_ip>> |
| 107 | external_address: |
| 108 | value_template: <<node_external_ip>> |
| 109 | openstack_gateway: |
| 110 | expression: <<node_hostname>>__startswith__gtw |
| 111 | node_class: |
| 112 | value_template: |
| 113 | - cluster.<<node_cluster>>.openstack.gateway |
| 114 | node_param: |
| 115 | tenant_address: |
| 116 | value_template: <<node_tenant_ip>> |
| 117 | external_address: |
| 118 | value_template: <<node_external_ip>> |
| 119 | cluster_param: |
| 120 | openstack_gateway_node01_address: |
| 121 | value_template: <<node_control_ip>> |
| 122 | stacklight_monitor_node01: |
| 123 | expression: <<node_hostname>>__equals__mon01 |
| 124 | cluster_param: |
Olivier Bourdon | 1ad864b | 2017-09-06 14:09:15 +0200 | [diff] [blame] | 125 | stacklight_monitor_node01_address: |
Jiri Broulik | 432ae9c | 2017-08-17 10:24:23 +0200 | [diff] [blame] | 126 | value_template: <<node_control_ip>> |
| 127 | stacklight_monitor_node02: |
| 128 | expression: <<node_hostname>>__equals__mon02 |
| 129 | cluster_param: |
Olivier Bourdon | 1ad864b | 2017-09-06 14:09:15 +0200 | [diff] [blame] | 130 | stacklight_monitor_node02_address: |
Jiri Broulik | 432ae9c | 2017-08-17 10:24:23 +0200 | [diff] [blame] | 131 | value_template: <<node_control_ip>> |
| 132 | stacklight_monitor_node03: |
| 133 | expression: <<node_hostname>>__equals__mon03 |
| 134 | cluster_param: |
| 135 | stacklight_monitor_node03_address: |
| 136 | value_template: <<node_control_ip>> |
| 137 | openstack_dashboard: |
| 138 | expression: <<node_hostname>>__startswith__prx |
| 139 | node_class: |
| 140 | value_template: |
| 141 | - cluster.<<node_cluster>>.openstack.dashboard |
| 142 | - cluster.<<node_cluster>>.openstack.proxy |
| 143 | cluster_param: |
| 144 | openstack_proxy_node01_address: |
| 145 | value_template: <<node_control_ip>> |
Jiri Broulik | eaae24f | 2017-04-21 16:59:29 +0200 | [diff] [blame] | 146 | node: |
| 147 | openstack_control_node01: |
| 148 | classes: |
| 149 | - service.galera.master.cluster |
| 150 | params: |
| 151 | mysql_cluster_role: master |
| 152 | linux_system_codename: xenial |
| 153 | openstack_control_node02: |
| 154 | classes: |
| 155 | - service.galera.slave.cluster |
| 156 | params: |
| 157 | mysql_cluster_role: slave |
| 158 | linux_system_codename: xenial |
| 159 | openstack_control_node03: |
| 160 | classes: |
| 161 | - service.galera.slave.cluster |
| 162 | params: |
| 163 | mysql_cluster_role: slave |
| 164 | linux_system_codename: xenial |
Jiri Broulik | eaae24f | 2017-04-21 16:59:29 +0200 | [diff] [blame] | 165 | stacklight_server_node01: |
| 166 | classes: |
| 167 | - system.influxdb.server.single |
| 168 | - system.influxdb.database.stacklight |
Jiri Broulik | 432ae9c | 2017-08-17 10:24:23 +0200 | [diff] [blame] | 169 | openstack_compute_node01: |
| 170 | params: |
| 171 | dpdk0_name: ens5 |
| 172 | dpdk0_pci: '"0000:00:05.0"' |
Jiri Broulik | bf0a8af | 2017-08-22 13:38:47 +0200 | [diff] [blame] | 173 | single_address: 172.16.10.105 |
| 174 | tenant_address: 10.1.0.105 |
| 175 | external_address: 10.16.0.105 |
Jiri Broulik | 432ae9c | 2017-08-17 10:24:23 +0200 | [diff] [blame] | 176 | openstack_compute_node02: |
| 177 | params: |
| 178 | dpdk0_name: ens5 |
Jiri Broulik | bf0a8af | 2017-08-22 13:38:47 +0200 | [diff] [blame] | 179 | dpdk0_pci: '"0000:00:05.0"' |
| 180 | single_address: 172.16.10.106 |
| 181 | tenant_address: 10.1.0.106 |
| 182 | external_address: 10.16.0.106 |
Jiri Broulik | d3a3867 | 2017-08-22 14:15:09 +0200 | [diff] [blame] | 183 | openstack_gateway_node01: |
| 184 | params: |
| 185 | tenant_address: 10.1.0.110 |
Jiri Broulik | de05989 | 2017-08-22 19:05:50 +0200 | [diff] [blame] | 186 | external_address: 10.16.0.110 |
| 187 | openstack_proxy_node01: |
| 188 | classes: |
| 189 | - cluster.virtual-mcp11-ovs-dpdk.openstack.proxy |
| 190 | params: |
Olivier Bourdon | 1ad864b | 2017-09-06 14:09:15 +0200 | [diff] [blame] | 191 | linux_system_codename: xenial |