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