Vasyl Saienko | 9116048 | 2018-02-20 17:31:33 +0200 | [diff] [blame] | 1 | classes: |
| 2 | - service.git.client |
| 3 | - system.linux.system.single |
| 4 | - system.linux.system.repo.mcp.salt |
| 5 | - system.linux.system.repo.mcp.apt_mirantis.openstack |
| 6 | - system.openssh.client.lab |
Vasyl Saienko | 9116048 | 2018-02-20 17:31:33 +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 |
Vasyl Saienko | 9116048 | 2018-02-20 17:31:33 +0200 | [diff] [blame] | 9 | - system.reclass.storage.salt |
| 10 | - system.salt.minion.ca.salt_master |
Vasyl Saienko | 9116048 | 2018-02-20 17:31:33 +0200 | [diff] [blame] | 11 | - system.sphinx.server.doc.reclass |
| 12 | - system.keystone.client.single |
Vasyl Saienko | 9116048 | 2018-02-20 17:31:33 +0200 | [diff] [blame] | 13 | - system.keystone.client.service.nova21 |
| 14 | - system.keystone.client.service.nova-placement |
| 15 | - system.keystone.client.service.cinder3 |
| 16 | - system.keystone.client.service.designate |
Tatyana Leontovich | 5bfb1e6 | 2018-02-22 19:39:09 +0200 | [diff] [blame] | 17 | - system.reclass.storage.system.openstack_dns_cluster |
Vasyl Saienko | 9116048 | 2018-02-20 17:31:33 +0200 | [diff] [blame] | 18 | - system.reclass.storage.system.openstack_control_cluster |
Tatyana Leontovich | 5bfb1e6 | 2018-02-22 19:39:09 +0200 | [diff] [blame] | 19 | - system.reclass.storage.system.openstack_compute_multi |
| 20 | - system.reclass.storage.system.openstack_gateway_single |
| 21 | - system.reclass.storage.system.openstack_dashboard_single |
Vasyl Saienko | 9116048 | 2018-02-20 17:31:33 +0200 | [diff] [blame] | 22 | - cluster.virtual-mcp-pike-dvr-ssl |
| 23 | parameters: |
| 24 | _param: |
| 25 | reclass_data_repository: https://gerrit.mcp.mirantis.net/salt-models/mcp-virtual-lab |
| 26 | reclass_data_revision: master |
| 27 | salt_master_environment_repository: "https://github.com/tcpcloud" |
| 28 | salt_master_environment_revision: master |
| 29 | salt_api_password_hash: "$6$sGnRlxGf$al5jMCetLP.vfI/fTl3Z0N7Za1aeiexL487jAtyRABVfT3NlwZxQGVhO7S1N8OwS/34VHYwZQA8lkXwKMN/GS1" |
| 30 | reclass_config_master: 192.168.10.90 |
| 31 | single_address: 172.16.10.100 |
| 32 | salt_master_host: 127.0.0.1 |
| 33 | salt_master_base_environment: prd |
| 34 | linux: |
| 35 | network: |
| 36 | interface: |
| 37 | ens4: |
| 38 | enabled: true |
| 39 | type: eth |
| 40 | proto: static |
| 41 | address: ${_param:single_address} |
| 42 | netmask: 255.255.255.0 |
Vasyl Saienko | 9116048 | 2018-02-20 17:31:33 +0200 | [diff] [blame] | 43 | salt: |
| 44 | master: |
| 45 | reactor: |
| 46 | reclass/minion/classify: |
| 47 | - salt://reclass/reactor/node_register.sls |
| 48 | reclass: |
| 49 | storage: |
| 50 | class_mapping: |
| 51 | common_node: |
| 52 | expression: all |
| 53 | node_param: |
| 54 | single_address: |
| 55 | value_template: <<node_control_ip>> |
| 56 | linux_system_codename: |
| 57 | value_template: <<node_os>> |
| 58 | salt_master_host: |
| 59 | value_template: <<node_master_ip>> |
| 60 | infra_config: |
| 61 | expression: <<node_hostname>>__startswith__cfg |
| 62 | cluster_param: |
| 63 | infra_config_address: |
| 64 | value_template: <<node_control_ip>> |
| 65 | infra_config_deploy_address: |
| 66 | value_template: <<node_deploy_ip>> |
| 67 | cluster_domain: |
| 68 | value_template: <<node_domain>> |
| 69 | openstack_control01: |
| 70 | expression: <<node_hostname>>__equals__ctl01 |
| 71 | cluster_param: |
| 72 | openstack_control_node01_address: |
| 73 | value_template: <<node_control_ip>> |
| 74 | openstack_control02: |
| 75 | expression: <<node_hostname>>__equals__ctl02 |
| 76 | cluster_param: |
| 77 | openstack_control_node02_address: |
| 78 | value_template: <<node_control_ip>> |
| 79 | openstack_control03: |
| 80 | expression: <<node_hostname>>__equals__ctl03 |
| 81 | cluster_param: |
| 82 | openstack_control_node03_address: |
| 83 | value_template: <<node_control_ip>> |
| 84 | openstack_compute: |
| 85 | expression: <<node_hostname>>__startswith__cmp |
| 86 | node_class: |
| 87 | value_template: |
| 88 | - cluster.<<node_cluster>>.openstack.compute |
| 89 | node_param: |
| 90 | tenant_address: |
| 91 | value_template: <<node_tenant_ip>> |
| 92 | external_address: |
| 93 | value_template: <<node_external_ip>> |
| 94 | openstack_gateway: |
| 95 | expression: <<node_hostname>>__startswith__gtw |
| 96 | node_class: |
| 97 | value_template: |
| 98 | - cluster.<<node_cluster>>.openstack.gateway |
| 99 | node_param: |
| 100 | tenant_address: |
| 101 | value_template: <<node_tenant_ip>> |
| 102 | external_address: |
| 103 | value_template: <<node_external_ip>> |
| 104 | cluster_param: |
| 105 | openstack_gateway_node01_address: |
| 106 | value_template: <<node_control_ip>> |
Vasyl Saienko | 9116048 | 2018-02-20 17:31:33 +0200 | [diff] [blame] | 107 | openstack_dashboard: |
| 108 | expression: <<node_hostname>>__startswith__prx |
| 109 | node_class: |
| 110 | value_template: |
| 111 | - cluster.<<node_cluster>>.openstack.dashboard |
| 112 | - cluster.<<node_cluster>>.openstack.proxy |
| 113 | cluster_param: |
| 114 | openstack_proxy_node01_address: |
| 115 | value_template: <<node_control_ip>> |
| 116 | node: |
| 117 | openstack_control_node01: |
| 118 | classes: |
| 119 | - service.galera.master.cluster |
| 120 | params: |
| 121 | mysql_cluster_role: master |
| 122 | linux_system_codename: xenial |
| 123 | openstack_control_node02: |
| 124 | classes: |
| 125 | - service.galera.slave.cluster |
| 126 | params: |
| 127 | mysql_cluster_role: slave |
| 128 | linux_system_codename: xenial |
| 129 | openstack_control_node03: |
| 130 | classes: |
| 131 | - service.galera.slave.cluster |
| 132 | params: |
| 133 | mysql_cluster_role: slave |
| 134 | linux_system_codename: xenial |
Tatyana Leontovich | 5bfb1e6 | 2018-02-22 19:39:09 +0200 | [diff] [blame] | 135 | openstack_compute_node01: |
| 136 | params: |
| 137 | single_address: 172.16.10.105 |
| 138 | tenant_address: 10.1.0.105 |
| 139 | external_address: 10.16.0.105 |
| 140 | openstack_compute_node02: |
| 141 | params: |
| 142 | single_address: 172.16.10.106 |
| 143 | tenant_address: 10.1.0.106 |
| 144 | external_address: 10.16.0.106 |
| 145 | openstack_gateway_node01: |
| 146 | params: |
| 147 | tenant_address: 10.1.0.110 |
| 148 | external_address: 10.16.0.110 |
| 149 | openstack_proxy_node01: |
| 150 | classes: |
| 151 | - cluster.virtual-mcp-pike-dvr-ssl.openstack.proxy |
| 152 | params: |
| 153 | linux_system_codename: xenial |