Vasyl Saienko | b58c641 | 2018-02-21 14:18:05 +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 |
Martin Polreich | a0addcc | 2018-06-25 11:32:52 +0200 | [diff] [blame] | 5 | - system.linux.system.repo.mcp.apt_mirantis.saltstack |
Vasyl Saienko | b58c641 | 2018-02-21 14:18:05 +0200 | [diff] [blame] | 6 | - system.linux.system.repo.mcp.openstack |
| 7 | - system.openssh.client.lab |
Vasyl Saienko | b58c641 | 2018-02-21 14:18:05 +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 |
Vasyl Saienko | b58c641 | 2018-02-21 14:18:05 +0200 | [diff] [blame] | 10 | - system.salt.master.formula.pkg.baremetal |
| 11 | - system.reclass.storage.salt |
| 12 | - system.salt.minion.ca.salt_master |
| 13 | - system.salt.minion.cert.proxy |
| 14 | - system.sphinx.server.doc.reclass |
| 15 | - system.keystone.client.single |
| 16 | - system.keystone.client.service.ceilometer |
| 17 | - system.keystone.client.service.nova21 |
| 18 | - system.keystone.client.service.glare |
| 19 | - system.keystone.client.service.cinder3 |
| 20 | - system.keystone.client.service.ironic |
| 21 | - system.keystone.client.service.nova-placement |
| 22 | - system.mysql.client.single |
| 23 | - system.reclass.storage.system.openstack_control_cluster |
| 24 | - system.reclass.storage.system.openstack_baremetal_single |
| 25 | - system.reclass.storage.system.openstack_dashboard_single |
| 26 | - system.reclass.storage.system.stacklight_server_cluster |
| 27 | - cluster.virtual-mcp11-ovs-ironic-ssl.openstack.proxy |
| 28 | - cluster.virtual-mcp11-ovs-ironic-ssl.stacklight.proxy |
| 29 | - cluster.virtual-mcp11-ovs-ironic-ssl |
| 30 | parameters: |
| 31 | _param: |
| 32 | reclass_data_repository: https://gerrit.mcp.mirantis.net/salt-models/mcp-virtual-lab |
| 33 | reclass_data_revision: master |
| 34 | reclass_config_master: ${_param:infra_config_deploy_address} |
| 35 | single_address: ${_param:infra_config_address} |
| 36 | salt_master_environment_repository: "https://github.com/tcpcloud" |
| 37 | salt_master_environment_revision: master |
| 38 | salt_master_host: 127.0.0.1 |
| 39 | salt_master_base_environment: prd |
| 40 | salt_minion_ca_host: ${linux:network:fqdn} |
| 41 | salt_api_password_hash: "$6$sGnRlxGf$al5jMCetLP.vfI/fTl3Z0N7Za1aeiexL487jAtyRABVfT3NlwZxQGVhO7S1N8OwS/34VHYwZQA8lkXwKMN/GS1" |
| 42 | linux: |
| 43 | network: |
| 44 | interface: |
| 45 | ens4: |
| 46 | enabled: true |
| 47 | type: eth |
| 48 | proto: static |
| 49 | address: ${_param:single_address} |
| 50 | netmask: 255.255.255.0 |
| 51 | nginx: |
| 52 | server: |
| 53 | site: |
| 54 | nginx_proxy_openstack_web: |
| 55 | proxy: |
| 56 | host: ${_param:openstack_control_address} |
| 57 | nginx_proxy_openstack_api_heat_cfn: |
| 58 | enabled: false |
| 59 | salt: |
| 60 | master: |
| 61 | reactor: |
| 62 | reclass/minion/classify: |
| 63 | - salt://reclass/reactor/node_register.sls |
| 64 | environment: |
| 65 | prd: |
| 66 | formula: |
| 67 | baremetal_simulator: |
| 68 | name: salt-formula-baremetal-simulator |
| 69 | source: pkg |
| 70 | reclass: |
| 71 | storage: |
| 72 | class_mapping: |
| 73 | common_node: |
| 74 | expression: all |
| 75 | node_param: |
| 76 | single_address: |
| 77 | value_template: <<node_control_ip>> |
| 78 | linux_system_codename: |
| 79 | value_template: <<node_os>> |
| 80 | salt_master_host: |
| 81 | value_template: <<node_master_ip>> |
| 82 | infra_config: |
| 83 | expression: <<node_hostname>>__startswith__cfg |
| 84 | cluster_param: |
| 85 | infra_config_address: |
| 86 | value_template: <<node_control_ip>> |
| 87 | infra_config_deploy_address: |
| 88 | value_template: <<node_deploy_ip>> |
| 89 | cluster_domain: |
| 90 | value_template: <<node_domain>> |
| 91 | openstack_control01: |
| 92 | expression: <<node_hostname>>__equals__ctl01 |
| 93 | cluster_param: |
| 94 | openstack_control_node01_address: |
| 95 | value_template: <<node_control_ip>> |
| 96 | openstack_control02: |
| 97 | expression: <<node_hostname>>__equals__ctl02 |
| 98 | cluster_param: |
| 99 | openstack_control_node02_address: |
| 100 | value_template: <<node_control_ip>> |
| 101 | openstack_control03: |
| 102 | expression: <<node_hostname>>__equals__ctl03 |
| 103 | cluster_param: |
| 104 | openstack_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>> |
| 116 | openstack_gateway: |
| 117 | expression: <<node_hostname>>__startswith__gtw |
| 118 | node_class: |
| 119 | value_template: |
| 120 | - cluster.<<node_cluster>>.openstack.gateway |
| 121 | node_param: |
| 122 | tenant_address: |
| 123 | value_template: <<node_tenant_ip>> |
| 124 | external_address: |
| 125 | value_template: <<node_external_ip>> |
| 126 | cluster_param: |
| 127 | openstack_gateway_node01_address: |
| 128 | value_template: <<node_control_ip>> |
| 129 | openstack_bmt: |
| 130 | expression: <<node_hostname>>__startswith__bmt |
| 131 | node_class: |
| 132 | value_template: |
| 133 | - cluster.<<node_cluster>>.openstack.baremetal |
| 134 | cluster_param: |
| 135 | openstack_baremetal_node01_address: |
| 136 | value_template: <<node_control_ip>> |
| 137 | openstack_baremetal_node01_baremetal_address: |
| 138 | value_template: <<node_baremetal_ip>> |
| 139 | node: |
| 140 | openstack_control_node01: |
| 141 | classes: |
| 142 | - service.galera.master.cluster |
Dennis Dmitriev | 100a5ff | 2018-09-18 16:36:39 +0300 | [diff] [blame] | 143 | - service.galera.ssl.master |
Vasyl Saienko | b58c641 | 2018-02-21 14:18:05 +0200 | [diff] [blame] | 144 | params: |
| 145 | mysql_cluster_role: master |
| 146 | linux_system_codename: xenial |
| 147 | openstack_control_node02: |
| 148 | classes: |
| 149 | - service.galera.slave.cluster |
Dennis Dmitriev | 100a5ff | 2018-09-18 16:36:39 +0300 | [diff] [blame] | 150 | - service.galera.ssl.slave |
Vasyl Saienko | b58c641 | 2018-02-21 14:18:05 +0200 | [diff] [blame] | 151 | params: |
| 152 | mysql_cluster_role: slave |
| 153 | linux_system_codename: xenial |
| 154 | openstack_control_node03: |
| 155 | classes: |
| 156 | - service.galera.slave.cluster |
Dennis Dmitriev | 100a5ff | 2018-09-18 16:36:39 +0300 | [diff] [blame] | 157 | - service.galera.ssl.slave |
Vasyl Saienko | b58c641 | 2018-02-21 14:18:05 +0200 | [diff] [blame] | 158 | params: |
| 159 | mysql_cluster_role: slave |
| 160 | linux_system_codename: xenial |
| 161 | openstack_baremetal_node01: |
| 162 | params: |
| 163 | single_baremetal_address: ${_param:openstack_baremetal_node01_baremetal_address} |
| 164 | keepalived_openstack_baremetal_vip_priority: 100 |
| 165 | ironic_api_type: 'deploy' |
| 166 | tenant_address: 10.1.0.110 |
| 167 | external_address: 10.16.0.110 |