Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 1 | classes: |
| 2 | - service.git.client |
| 3 | - system.linux.system.single |
| 4 | - system.linux.system.repo.mcp.salt |
| 5 | - system.openssh.client.lab |
| 6 | - system.salt.master.api |
| 7 | - system.salt.master.pkg |
| 8 | - system.reclass.storage.salt |
| 9 | - system.salt.minion.ca.salt_master |
| 10 | - system.salt.minion.cert.proxy |
| 11 | - system.sphinx.server.doc.reclass |
Petr Jediný | 3114a39 | 2017-08-02 15:21:09 +0200 | [diff] [blame] | 12 | - system.keystone.client.core |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 13 | - system.keystone.client.service.designate |
Petr Jediný | 3114a39 | 2017-08-02 15:21:09 +0200 | [diff] [blame] | 14 | - system.keystone.client.service.cinder |
| 15 | - system.keystone.client.service.cinder2 |
| 16 | - system.keystone.client.service.cinder3 |
| 17 | - system.keystone.client.service.glance |
| 18 | - system.keystone.client.service.glare |
| 19 | - system.keystone.client.service.heat |
| 20 | - system.keystone.client.service.heat-cfn |
| 21 | - system.keystone.client.service.keystone |
| 22 | - system.keystone.client.service.neutron |
| 23 | - system.keystone.client.service.nova-ec2 |
| 24 | - system.keystone.client.service.nova21 |
| 25 | - system.keystone.client.service.nova-placement |
Adam Tengler | 2b36a76 | 2017-07-13 14:34:47 +0000 | [diff] [blame] | 26 | - system.mysql.client |
| 27 | - system.mysql.client.database.cinder |
| 28 | - system.mysql.client.database.glance |
| 29 | - system.mysql.client.database.heat |
| 30 | - system.mysql.client.database.keystone |
| 31 | - system.mysql.client.database.nova |
| 32 | - system.mysql.client.database.nova_api |
| 33 | - system.mysql.client.database.neutron |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 34 | - system.reclass.storage.system.openstack_control_cluster |
| 35 | - system.reclass.storage.system.opencontrail_control_cluster |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 36 | - cluster.os_ha_contrail.openstack.proxy |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 37 | - cluster.os_ha_contrail |
| 38 | parameters: |
| 39 | _param: |
| 40 | reclass_data_repository: "https://gerrit.mcp.mirantis.net/salt-models/mcp-virtual-lab" |
| 41 | reclass_data_revision: master |
Adam Tengler | c617650 | 2017-07-04 20:45:06 +0000 | [diff] [blame] | 42 | reclass_config_master: ${_param:infra_config_deploy_address} |
| 43 | single_address: ${_param:infra_config_address} |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 44 | salt_master_host: 127.0.0.1 |
| 45 | salt_master_base_environment: prd |
| 46 | salt_minion_ca_host: ${linux:network:fqdn} |
| 47 | salt_api_password_hash: "$6$sGnRlxGf$al5jMCetLP.vfI/fTl3Z0N7Za1aeiexL487jAtyRABVfT3NlwZxQGVhO7S1N8OwS/34VHYwZQA8lkXwKMN/GS1" |
| 48 | linux: |
| 49 | network: |
| 50 | interface: |
| 51 | ens4: |
| 52 | enabled: true |
| 53 | type: eth |
| 54 | proto: static |
| 55 | address: ${_param:single_address} |
| 56 | netmask: 255.255.255.0 |
| 57 | nginx: |
| 58 | server: |
| 59 | site: |
| 60 | nginx_proxy_openstack_web: |
| 61 | proxy: |
Adam Tengler | 5b31d07 | 2017-07-19 10:33:04 +0000 | [diff] [blame] | 62 | host: ${_param:openstack_control_address} |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 63 | nginx_proxy_openstack_api_heat_cfn: |
| 64 | enabled: false |
Adam Tengler | 4f23d96 | 2017-07-04 19:54:59 +0000 | [diff] [blame] | 65 | salt: |
| 66 | master: |
| 67 | reactor: |
| 68 | reclass/minion/classify: |
| 69 | - salt://reclass/reactor/node_register.sls |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 70 | reclass: |
| 71 | storage: |
Adam Tengler | 4f23d96 | 2017-07-04 19:54:59 +0000 | [diff] [blame] | 72 | class_mapping: |
| 73 | common_node: |
| 74 | expression: all |
| 75 | node_param: |
| 76 | single_address: |
Adam Tengler | c617650 | 2017-07-04 20:45:06 +0000 | [diff] [blame] | 77 | value_template: <<node_control_ip>> |
Adam Tengler | 4f23d96 | 2017-07-04 19:54:59 +0000 | [diff] [blame] | 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: |
Adam Tengler | c617650 | 2017-07-04 20:45:06 +0000 | [diff] [blame] | 86 | value_template: <<node_control_ip>> |
Adam Tengler | 4f23d96 | 2017-07-04 19:54:59 +0000 | [diff] [blame] | 87 | infra_config_deploy_address: |
Adam Tengler | c617650 | 2017-07-04 20:45:06 +0000 | [diff] [blame] | 88 | value_template: <<node_deploy_ip>> |
Adam Tengler | 4f23d96 | 2017-07-04 19:54:59 +0000 | [diff] [blame] | 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: |
Adam Tengler | c617650 | 2017-07-04 20:45:06 +0000 | [diff] [blame] | 95 | value_template: <<node_control_ip>> |
Adam Tengler | 4f23d96 | 2017-07-04 19:54:59 +0000 | [diff] [blame] | 96 | openstack_control02: |
| 97 | expression: <<node_hostname>>__equals__ctl02 |
| 98 | cluster_param: |
| 99 | openstack_control_node02_address: |
Adam Tengler | c617650 | 2017-07-04 20:45:06 +0000 | [diff] [blame] | 100 | value_template: <<node_control_ip>> |
Adam Tengler | 4f23d96 | 2017-07-04 19:54:59 +0000 | [diff] [blame] | 101 | openstack_control03: |
| 102 | expression: <<node_hostname>>__equals__ctl03 |
| 103 | cluster_param: |
| 104 | openstack_control_node03_address: |
Adam Tengler | c617650 | 2017-07-04 20:45:06 +0000 | [diff] [blame] | 105 | value_template: <<node_control_ip>> |
Adam Tengler | 4f23d96 | 2017-07-04 19:54:59 +0000 | [diff] [blame] | 106 | opencontrail_control01: |
| 107 | expression: <<node_hostname>>__equals__ntw01 |
| 108 | cluster_param: |
| 109 | opencontrail_control_node01_address: |
Adam Tengler | c617650 | 2017-07-04 20:45:06 +0000 | [diff] [blame] | 110 | value_template: <<node_control_ip>> |
Adam Tengler | 4f23d96 | 2017-07-04 19:54:59 +0000 | [diff] [blame] | 111 | opencontrail_control02: |
| 112 | expression: <<node_hostname>>__equals__ntw02 |
| 113 | cluster_param: |
| 114 | opencontrail_control_node02_address: |
Adam Tengler | c617650 | 2017-07-04 20:45:06 +0000 | [diff] [blame] | 115 | value_template: <<node_control_ip>> |
Adam Tengler | 4f23d96 | 2017-07-04 19:54:59 +0000 | [diff] [blame] | 116 | opencontrail_control03: |
| 117 | expression: <<node_hostname>>__equals__ntw03 |
| 118 | cluster_param: |
| 119 | opencontrail_control_node03_address: |
Adam Tengler | c617650 | 2017-07-04 20:45:06 +0000 | [diff] [blame] | 120 | value_template: <<node_control_ip>> |
Adam Tengler | 4f23d96 | 2017-07-04 19:54:59 +0000 | [diff] [blame] | 121 | openstack_compute: |
| 122 | expression: <<node_hostname>>__startswith__cmp |
| 123 | node_class: |
| 124 | value_template: |
| 125 | - cluster.<<node_cluster>>.openstack.compute |
| 126 | node_param: |
| 127 | tenant_address: |
| 128 | value_template: <<node_tenant_ip>> |
| 129 | external_address: |
| 130 | value_template: <<node_external_ip>> |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 131 | node: |
| 132 | openstack_control_node01: |
| 133 | classes: |
| 134 | - service.galera.master.cluster |
Adam Tengler | 5b31d07 | 2017-07-19 10:33:04 +0000 | [diff] [blame] | 135 | - cluster.os_ha_contrail.openstack.dashboard |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 136 | params: |
| 137 | mysql_cluster_role: master |
| 138 | linux_system_codename: xenial |
| 139 | openstack_control_node02: |
| 140 | classes: |
| 141 | - service.galera.slave.cluster |
Adam Tengler | 5b31d07 | 2017-07-19 10:33:04 +0000 | [diff] [blame] | 142 | - cluster.os_ha_contrail.openstack.dashboard |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 143 | params: |
| 144 | mysql_cluster_role: slave |
| 145 | linux_system_codename: xenial |
| 146 | openstack_control_node03: |
| 147 | classes: |
| 148 | - service.galera.slave.cluster |
Adam Tengler | 5b31d07 | 2017-07-19 10:33:04 +0000 | [diff] [blame] | 149 | - cluster.os_ha_contrail.openstack.dashboard |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 150 | params: |
| 151 | mysql_cluster_role: slave |
| 152 | linux_system_codename: xenial |