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