Aleksandr Shaposhnikov | 25eb1ff | 2018-02-26 17:56:29 +0000 | [diff] [blame] | 1 | classes: |
| 2 | - service.git.client |
| 3 | - system.linux.system.single |
| 4 | - system.linux.system.repo_local.mcp.salt |
| 5 | - system.linux.system.repo_local.mcp.apt_mirantis.openstack |
Ondrej Smola | c1b4bdd | 2018-03-13 15:12:38 +0100 | [diff] [blame^] | 6 | #- system.openssh.client.lab |
Aleksandr Shaposhnikov | 25eb1ff | 2018-02-26 17:56:29 +0000 | [diff] [blame] | 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 |
| 13 | - system.keystone.client.single |
| 14 | - system.keystone.client.service.aodh |
| 15 | - system.keystone.client.service.ceilometer |
| 16 | - system.keystone.client.service.nova21 |
| 17 | - system.keystone.client.service.nova-placement |
| 18 | - system.keystone.client.service.glare |
| 19 | - system.keystone.client.service.cinder3 |
| 20 | - system.keystone.client.service.designate |
| 21 | - system.mysql.client.single |
| 22 | - system.reclass.storage.system.openstack_control_cluster |
| 23 | - system.reclass.storage.system.openstack_compute_multi |
| 24 | - system.reclass.storage.system.openstack_gateway_single |
| 25 | - system.reclass.storage.system.openstack_dashboard_single |
| 26 | - system.reclass.storage.system.stacklightv2_server_cluster |
Ondrej Smola | c1b4bdd | 2018-03-13 15:12:38 +0100 | [diff] [blame^] | 27 | - cluster.virtual-offline-pike-ovs-dpdk.infra.backup.client_common |
Aleksandr Shaposhnikov | 25eb1ff | 2018-02-26 17:56:29 +0000 | [diff] [blame] | 28 | - cluster.virtual-offline-pike-ovs-dpdk.openstack.proxy |
| 29 | - cluster.virtual-offline-pike-ovs-dpdk.stacklight.proxy |
| 30 | - cluster.virtual-offline-pike-ovs-dpdk |
| 31 | parameters: |
| 32 | _param: |
| 33 | reclass_data_repository: https://gerrit.mcp.mirantis.net/salt-models/mcp-virtual-lab |
| 34 | reclass_data_revision: master |
| 35 | salt_master_environment_repository: "https://github.com/tcpcloud" |
| 36 | salt_master_environment_revision: master |
| 37 | reclass_config_master: 192.168.10.90 |
| 38 | single_address: 172.16.10.100 |
| 39 | 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: |
| 57 | host: prx |
| 58 | nginx_proxy_openstack_api_heat_cfn: |
| 59 | enabled: false |
| 60 | salt: |
| 61 | master: |
Ondrej Smola | c1b4bdd | 2018-03-13 15:12:38 +0100 | [diff] [blame^] | 62 | backup: true |
Aleksandr Shaposhnikov | 25eb1ff | 2018-02-26 17:56:29 +0000 | [diff] [blame] | 63 | reactor: |
| 64 | reclass/minion/classify: |
| 65 | - salt://reclass/reactor/node_register.sls |
Ondrej Smola | c1b4bdd | 2018-03-13 15:12:38 +0100 | [diff] [blame^] | 66 | minion: |
| 67 | backup: true |
Aleksandr Shaposhnikov | 25eb1ff | 2018-02-26 17:56:29 +0000 | [diff] [blame] | 68 | reclass: |
| 69 | storage: |
| 70 | class_mapping: |
| 71 | common_node: |
| 72 | expression: all |
| 73 | node_param: |
| 74 | single_address: |
| 75 | value_template: <<node_control_ip>> |
| 76 | linux_system_codename: |
| 77 | value_template: <<node_os>> |
| 78 | salt_master_host: |
| 79 | value_template: <<node_master_ip>> |
| 80 | infra_config: |
| 81 | expression: <<node_hostname>>__startswith__cfg |
| 82 | cluster_param: |
| 83 | infra_config_address: |
| 84 | value_template: <<node_control_ip>> |
| 85 | infra_config_deploy_address: |
| 86 | value_template: <<node_deploy_ip>> |
| 87 | cluster_domain: |
| 88 | value_template: <<node_domain>> |
| 89 | openstack_control01: |
| 90 | expression: <<node_hostname>>__equals__ctl01 |
| 91 | cluster_param: |
| 92 | openstack_control_node01_address: |
| 93 | value_template: <<node_control_ip>> |
| 94 | openstack_control02: |
| 95 | expression: <<node_hostname>>__equals__ctl02 |
| 96 | cluster_param: |
| 97 | openstack_control_node02_address: |
| 98 | value_template: <<node_control_ip>> |
| 99 | openstack_control03: |
| 100 | expression: <<node_hostname>>__equals__ctl03 |
| 101 | cluster_param: |
| 102 | openstack_control_node03_address: |
| 103 | value_template: <<node_control_ip>> |
| 104 | openstack_compute: |
| 105 | expression: <<node_hostname>>__startswith__cmp |
| 106 | node_class: |
| 107 | value_template: |
| 108 | - cluster.<<node_cluster>>.openstack.compute |
| 109 | node_param: |
| 110 | tenant_address: |
| 111 | value_template: <<node_tenant_ip>> |
| 112 | external_address: |
| 113 | value_template: <<node_external_ip>> |
| 114 | openstack_gateway: |
| 115 | expression: <<node_hostname>>__startswith__gtw |
| 116 | node_class: |
| 117 | value_template: |
| 118 | - cluster.<<node_cluster>>.openstack.gateway |
| 119 | node_param: |
| 120 | tenant_address: |
| 121 | value_template: <<node_tenant_ip>> |
| 122 | external_address: |
| 123 | value_template: <<node_external_ip>> |
| 124 | cluster_param: |
| 125 | openstack_gateway_node01_address: |
| 126 | value_template: <<node_control_ip>> |
| 127 | stacklight_monitor_node01: |
| 128 | expression: <<node_hostname>>__equals__mon01 |
| 129 | cluster_param: |
| 130 | stacklight_monitor_node01_address: |
| 131 | value_template: <<node_control_ip>> |
| 132 | stacklight_monitor_node02: |
| 133 | expression: <<node_hostname>>__equals__mon02 |
| 134 | cluster_param: |
| 135 | stacklight_monitor_node02_address: |
| 136 | value_template: <<node_control_ip>> |
| 137 | stacklight_monitor_node03: |
| 138 | expression: <<node_hostname>>__equals__mon03 |
| 139 | cluster_param: |
| 140 | stacklight_monitor_node03_address: |
| 141 | value_template: <<node_control_ip>> |
| 142 | openstack_dashboard: |
| 143 | expression: <<node_hostname>>__startswith__prx |
| 144 | node_class: |
| 145 | value_template: |
| 146 | - cluster.<<node_cluster>>.openstack.dashboard |
| 147 | - cluster.<<node_cluster>>.openstack.proxy |
| 148 | cluster_param: |
| 149 | openstack_proxy_node01_address: |
| 150 | value_template: <<node_control_ip>> |
| 151 | node: |
| 152 | openstack_control_node01: |
| 153 | classes: |
Ondrej Smola | c1b4bdd | 2018-03-13 15:12:38 +0100 | [diff] [blame^] | 154 | - cluster.virtual-offline-pike-ovs-dpdk.infra.backup.client_mysql |
Aleksandr Shaposhnikov | 25eb1ff | 2018-02-26 17:56:29 +0000 | [diff] [blame] | 155 | - service.galera.master.cluster |
| 156 | params: |
| 157 | mysql_cluster_role: master |
| 158 | linux_system_codename: xenial |
| 159 | openstack_control_node02: |
| 160 | classes: |
| 161 | - service.galera.slave.cluster |
| 162 | params: |
| 163 | mysql_cluster_role: slave |
| 164 | linux_system_codename: xenial |
| 165 | openstack_control_node03: |
| 166 | classes: |
Ondrej Smola | c1b4bdd | 2018-03-13 15:12:38 +0100 | [diff] [blame^] | 167 | - cluster.virtual-offline-pike-ovs-dpdk.infra.backup.server |
Aleksandr Shaposhnikov | 25eb1ff | 2018-02-26 17:56:29 +0000 | [diff] [blame] | 168 | - service.galera.slave.cluster |
| 169 | params: |
| 170 | mysql_cluster_role: slave |
| 171 | linux_system_codename: xenial |
| 172 | stacklight_server_node01: |
| 173 | classes: |
| 174 | - system.influxdb.server.single |
| 175 | - system.influxdb.database.stacklight |
| 176 | openstack_compute_node01: |
| 177 | params: |
| 178 | single_address: 172.16.10.105 |
| 179 | tenant_address: 10.1.0.105 |
| 180 | external_address: 10.16.0.105 |
| 181 | openstack_compute_node02: |
| 182 | params: |
| 183 | single_address: 172.16.10.106 |
| 184 | tenant_address: 10.1.0.106 |
| 185 | external_address: 10.16.0.106 |
| 186 | openstack_gateway_node01: |
| 187 | params: |
| 188 | tenant_address: 10.1.0.110 |
| 189 | external_address: 10.16.0.110 |
| 190 | openstack_proxy_node01: |
| 191 | classes: |
| 192 | - cluster.virtual-offline-pike-ovs-dpdk.openstack.proxy |
| 193 | params: |
| 194 | linux_system_codename: xenial |