Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 1 | classes: |
| 2 | - service.git.client |
Jan Cach | c997561 | 2018-01-15 18:56:01 +0100 | [diff] [blame] | 3 | - service.opencontrail.test.single |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 4 | - system.linux.system.single |
| 5 | - system.linux.system.repo.mcp.salt |
Jan Cach | 4446e41 | 2017-09-21 11:30:54 +0200 | [diff] [blame] | 6 | - system.linux.system.repo.mcp.openstack |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 7 | - system.openssh.client.lab |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +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 |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 10 | - system.reclass.storage.salt |
| 11 | - system.salt.minion.ca.salt_master |
| 12 | - system.salt.minion.cert.proxy |
| 13 | - system.sphinx.server.doc.reclass |
Petr Jediný | 3114a39 | 2017-08-02 15:21:09 +0200 | [diff] [blame] | 14 | - system.keystone.client.core |
Petr Jediný | bef780d | 2017-09-07 15:08:09 +0200 | [diff] [blame] | 15 | - system.keystone.client.service.barbican |
Petr Jediný | 3114a39 | 2017-08-02 15:21:09 +0200 | [diff] [blame] | 16 | - system.keystone.client.service.cinder |
| 17 | - system.keystone.client.service.cinder2 |
| 18 | - system.keystone.client.service.cinder3 |
Petr Jediný | bef780d | 2017-09-07 15:08:09 +0200 | [diff] [blame] | 19 | - system.keystone.client.service.designate |
Petr Jediný | 3114a39 | 2017-08-02 15:21:09 +0200 | [diff] [blame] | 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 |
Adam Tengler | 2b36a76 | 2017-07-13 14:34:47 +0000 | [diff] [blame] | 29 | - system.mysql.client |
Petr Jediný | bef780d | 2017-09-07 15:08:09 +0200 | [diff] [blame] | 30 | - system.mysql.client.database.barbican |
Adam Tengler | 2b36a76 | 2017-07-13 14:34:47 +0000 | [diff] [blame] | 31 | - system.mysql.client.database.cinder |
| 32 | - system.mysql.client.database.glance |
| 33 | - system.mysql.client.database.heat |
| 34 | - system.mysql.client.database.keystone |
| 35 | - system.mysql.client.database.nova |
| 36 | - system.mysql.client.database.nova_api |
| 37 | - system.mysql.client.database.neutron |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 38 | - system.reclass.storage.system.openstack_control_cluster |
| 39 | - system.reclass.storage.system.opencontrail_control_cluster |
Petr Jediný | cddcb24 | 2017-11-28 20:18:43 +0100 | [diff] [blame] | 40 | - system.glance.client.image.cirros |
| 41 | - system.glance.client.image.ubuntu_xenial |
| 42 | - system.nova.client.flavor.default |
Petr Michalec | f05e3ea | 2017-08-21 17:33:16 +0200 | [diff] [blame] | 43 | - cluster.os-ha-contrail.openstack.proxy |
| 44 | - cluster.os-ha-contrail |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 45 | parameters: |
| 46 | _param: |
Petr Jediný | f52f645 | 2017-12-01 18:18:38 +0100 | [diff] [blame] | 47 | ubuntu_xenial_image_url: "http://ci.mcp.mirantis.net:8085/images/ubuntu-16-04-x64-mcp1.1.qcow2" |
| 48 | cirros_image_url: "http://ci.mcp.mirantis.net:8085/images/cirros-x64-20170828.qcow2" |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 49 | reclass_data_repository: "https://gerrit.mcp.mirantis.net/salt-models/mcp-virtual-lab" |
| 50 | reclass_data_revision: master |
Adam Tengler | c617650 | 2017-07-04 20:45:06 +0000 | [diff] [blame] | 51 | reclass_config_master: ${_param:infra_config_deploy_address} |
| 52 | single_address: ${_param:infra_config_address} |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 53 | salt_master_host: 127.0.0.1 |
| 54 | salt_master_base_environment: prd |
| 55 | salt_minion_ca_host: ${linux:network:fqdn} |
| 56 | salt_api_password_hash: "$6$sGnRlxGf$al5jMCetLP.vfI/fTl3Z0N7Za1aeiexL487jAtyRABVfT3NlwZxQGVhO7S1N8OwS/34VHYwZQA8lkXwKMN/GS1" |
| 57 | linux: |
Petr Jediný | cddcb24 | 2017-11-28 20:18:43 +0100 | [diff] [blame] | 58 | system: |
| 59 | kernel: |
| 60 | sysctl: |
| 61 | net.ipv4.conf.ens3.forwarding: 1 |
| 62 | net.ipv4.conf.ens3.send_redirects: 0 |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 63 | network: |
| 64 | interface: |
| 65 | ens4: |
| 66 | enabled: true |
| 67 | type: eth |
| 68 | proto: static |
| 69 | address: ${_param:single_address} |
| 70 | netmask: 255.255.255.0 |
Petr Jediný | cddcb24 | 2017-11-28 20:18:43 +0100 | [diff] [blame] | 71 | # This is workaround for different interface |
| 72 | pre_up_cmds: |
| 73 | - "iptables -t nat -A POSTROUTING -o ens3 -j MASQUERADE" |
| 74 | post_down_cmds: |
| 75 | - "iptables -t nat -F POSTROUTING" |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 76 | nginx: |
| 77 | server: |
| 78 | site: |
| 79 | nginx_proxy_openstack_web: |
| 80 | proxy: |
Jan Cach | 4446e41 | 2017-09-21 11:30:54 +0200 | [diff] [blame] | 81 | host: ${_param:infra_config_address} |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 82 | nginx_proxy_openstack_api_heat_cfn: |
| 83 | enabled: false |
Adam Tengler | 4f23d96 | 2017-07-04 19:54:59 +0000 | [diff] [blame] | 84 | salt: |
| 85 | master: |
| 86 | reactor: |
| 87 | reclass/minion/classify: |
| 88 | - salt://reclass/reactor/node_register.sls |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 89 | reclass: |
| 90 | storage: |
Adam Tengler | 4f23d96 | 2017-07-04 19:54:59 +0000 | [diff] [blame] | 91 | class_mapping: |
| 92 | common_node: |
| 93 | expression: all |
| 94 | node_param: |
| 95 | single_address: |
Adam Tengler | c617650 | 2017-07-04 20:45:06 +0000 | [diff] [blame] | 96 | value_template: <<node_control_ip>> |
Adam Tengler | 4f23d96 | 2017-07-04 19:54:59 +0000 | [diff] [blame] | 97 | linux_system_codename: |
| 98 | value_template: <<node_os>> |
| 99 | salt_master_host: |
| 100 | value_template: <<node_master_ip>> |
Pavel Svimbersky | 048fb0e | 2017-12-14 12:02:11 +0100 | [diff] [blame] | 101 | mark_contrail_version: |
| 102 | expression: <<opencontrail_version>>__startswith__oc |
| 103 | cluster_param: |
| 104 | linux_repo_contrail_component: |
| 105 | value_template: <<opencontrail_version>> |
Adam Tengler | 4f23d96 | 2017-07-04 19:54:59 +0000 | [diff] [blame] | 106 | infra_config: |
| 107 | expression: <<node_hostname>>__startswith__cfg |
| 108 | cluster_param: |
| 109 | infra_config_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 | infra_config_deploy_address: |
Adam Tengler | c617650 | 2017-07-04 20:45:06 +0000 | [diff] [blame] | 112 | value_template: <<node_deploy_ip>> |
Adam Tengler | 4f23d96 | 2017-07-04 19:54:59 +0000 | [diff] [blame] | 113 | cluster_domain: |
| 114 | value_template: <<node_domain>> |
| 115 | openstack_control01: |
| 116 | expression: <<node_hostname>>__equals__ctl01 |
| 117 | cluster_param: |
| 118 | openstack_control_node01_address: |
Adam Tengler | c617650 | 2017-07-04 20:45:06 +0000 | [diff] [blame] | 119 | value_template: <<node_control_ip>> |
Adam Tengler | 4f23d96 | 2017-07-04 19:54:59 +0000 | [diff] [blame] | 120 | openstack_control02: |
| 121 | expression: <<node_hostname>>__equals__ctl02 |
| 122 | cluster_param: |
| 123 | openstack_control_node02_address: |
Adam Tengler | c617650 | 2017-07-04 20:45:06 +0000 | [diff] [blame] | 124 | value_template: <<node_control_ip>> |
Adam Tengler | 4f23d96 | 2017-07-04 19:54:59 +0000 | [diff] [blame] | 125 | openstack_control03: |
| 126 | expression: <<node_hostname>>__equals__ctl03 |
| 127 | cluster_param: |
| 128 | openstack_control_node03_address: |
Adam Tengler | c617650 | 2017-07-04 20:45:06 +0000 | [diff] [blame] | 129 | value_template: <<node_control_ip>> |
Adam Tengler | 4f23d96 | 2017-07-04 19:54:59 +0000 | [diff] [blame] | 130 | opencontrail_control01: |
| 131 | expression: <<node_hostname>>__equals__ntw01 |
| 132 | cluster_param: |
| 133 | opencontrail_control_node01_address: |
Adam Tengler | c617650 | 2017-07-04 20:45:06 +0000 | [diff] [blame] | 134 | value_template: <<node_control_ip>> |
Adam Tengler | 4f23d96 | 2017-07-04 19:54:59 +0000 | [diff] [blame] | 135 | opencontrail_control02: |
| 136 | expression: <<node_hostname>>__equals__ntw02 |
| 137 | cluster_param: |
| 138 | opencontrail_control_node02_address: |
Adam Tengler | c617650 | 2017-07-04 20:45:06 +0000 | [diff] [blame] | 139 | value_template: <<node_control_ip>> |
Adam Tengler | 4f23d96 | 2017-07-04 19:54:59 +0000 | [diff] [blame] | 140 | opencontrail_control03: |
| 141 | expression: <<node_hostname>>__equals__ntw03 |
| 142 | cluster_param: |
| 143 | opencontrail_control_node03_address: |
Petr Jediný | f52f645 | 2017-12-01 18:18:38 +0100 | [diff] [blame] | 144 | value_template: <<node_control_ip>> |
Adam Tengler | 4f23d96 | 2017-07-04 19:54:59 +0000 | [diff] [blame] | 145 | openstack_compute: |
| 146 | expression: <<node_hostname>>__startswith__cmp |
| 147 | node_class: |
| 148 | value_template: |
| 149 | - cluster.<<node_cluster>>.openstack.compute |
| 150 | node_param: |
| 151 | tenant_address: |
| 152 | value_template: <<node_tenant_ip>> |
| 153 | external_address: |
| 154 | value_template: <<node_external_ip>> |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 155 | node: |
| 156 | openstack_control_node01: |
| 157 | classes: |
| 158 | - service.galera.master.cluster |
| 159 | params: |
| 160 | mysql_cluster_role: master |
| 161 | linux_system_codename: xenial |
Adam Tengler | 29945d9 | 2017-08-11 15:00:47 +0000 | [diff] [blame] | 162 | horizon_identity_host: ${_param:openstack_control_address} |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 163 | openstack_control_node02: |
| 164 | classes: |
| 165 | - service.galera.slave.cluster |
| 166 | params: |
| 167 | mysql_cluster_role: slave |
| 168 | linux_system_codename: xenial |
Adam Tengler | 29945d9 | 2017-08-11 15:00:47 +0000 | [diff] [blame] | 169 | horizon_identity_host: ${_param:openstack_control_address} |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 170 | openstack_control_node03: |
| 171 | classes: |
| 172 | - service.galera.slave.cluster |
| 173 | params: |
| 174 | mysql_cluster_role: slave |
| 175 | linux_system_codename: xenial |
Adam Tengler | 29945d9 | 2017-08-11 15:00:47 +0000 | [diff] [blame] | 176 | horizon_identity_host: ${_param:openstack_control_address} |