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