Ondrej Smola | 03ff34e | 2016-12-01 01:30:33 +0100 | [diff] [blame] | 1 | classes: |
| 2 | - service.keepalived.cluster.single |
| 3 | - service.haproxy.proxy.single |
| 4 | - service.neutron.control.cluster |
| 5 | - system.haproxy.proxy.listen.openstack.neutron |
Dennis Dmitriev | 6f5768d | 2017-10-05 22:18:52 +0300 | [diff] [blame] | 6 | - system.galera.server.database.neutron |
Oleksandr Shyshko | e1692d2 | 2018-08-31 16:04:16 +0300 | [diff] [blame^] | 7 | - system.salt.minion.cert.mysql.clients.openstack.neutron |
Ondrej Smola | 03ff34e | 2016-12-01 01:30:33 +0100 | [diff] [blame] | 8 | parameters: |
Vasyl Saienko | 047166c | 2018-03-09 11:17:45 +0200 | [diff] [blame] | 9 | _param: |
| 10 | cluster_internal_protocol: 'http' |
Oleksandr Shyshko | e1692d2 | 2018-08-31 16:04:16 +0300 | [diff] [blame^] | 11 | openstack_mysql_x509_enabled: False |
| 12 | galera_ssl_enabled: False |
Andrey Shestakov | 0c7e110 | 2017-08-10 13:39:04 +0300 | [diff] [blame] | 13 | linux: |
| 14 | system: |
| 15 | package: |
| 16 | python-pymysql: |
| 17 | fromrepo: ${_param:openstack_version} |
| 18 | version: latest |
Ondrej Smola | 03ff34e | 2016-12-01 01:30:33 +0100 | [diff] [blame] | 19 | haproxy: |
| 20 | proxy: |
| 21 | listen: |
| 22 | neutron_api: |
| 23 | type: openstack-service |
| 24 | service_name: neutron |
| 25 | binds: |
| 26 | - address: ${_param:cluster_vip_address} |
| 27 | port: 9696 |
| 28 | servers: |
Alexandru Avadanii | f665ac5 | 2017-12-10 21:05:12 +0100 | [diff] [blame] | 29 | - name: ${_param:cluster_node01_hostname} |
Ondrej Smola | 03ff34e | 2016-12-01 01:30:33 +0100 | [diff] [blame] | 30 | host: ${_param:cluster_node01_address} |
| 31 | port: 9696 |
| 32 | params: check inter 10s fastinter 2s downinter 3s rise 3 fall 3 |
Alexandru Avadanii | f665ac5 | 2017-12-10 21:05:12 +0100 | [diff] [blame] | 33 | - name: ${_param:cluster_node02_hostname} |
Ondrej Smola | 03ff34e | 2016-12-01 01:30:33 +0100 | [diff] [blame] | 34 | host: ${_param:cluster_node02_address} |
| 35 | port: 9696 |
| 36 | params: check inter 10s fastinter 2s downinter 3s rise 3 fall 3 |
Alexandru Avadanii | f665ac5 | 2017-12-10 21:05:12 +0100 | [diff] [blame] | 37 | - name: ${_param:cluster_node03_hostname} |
Ondrej Smola | 03ff34e | 2016-12-01 01:30:33 +0100 | [diff] [blame] | 38 | host: ${_param:cluster_node03_address} |
| 39 | port: 9696 |
| 40 | params: check inter 10s fastinter 2s downinter 3s rise 3 fall 3 |
| 41 | neutron: |
| 42 | server: |
Oleksandr Shyshko | e1692d2 | 2018-08-31 16:04:16 +0300 | [diff] [blame^] | 43 | database: |
| 44 | x509: |
| 45 | enabled: ${_param:openstack_mysql_x509_enabled} |
| 46 | ca_file: ${_param:mysql_neutron_ssl_ca_file} |
| 47 | key_file: ${_param:mysql_neutron_client_ssl_key_file} |
| 48 | cert_file: ${_param:mysql_neutron_client_ssl_cert_file} |
| 49 | ssl: |
| 50 | enabled: ${_param:galera_ssl_enabled} |
Vasyl Saienko | 01eb317 | 2018-07-16 13:44:53 +0300 | [diff] [blame] | 51 | role: ${_param:openstack_node_role} |
Ondrej Smola | 03ff34e | 2016-12-01 01:30:33 +0100 | [diff] [blame] | 52 | plugin: contrail |
Vasyl Saienko | 047166c | 2018-03-09 11:17:45 +0200 | [diff] [blame] | 53 | identity: |
| 54 | protocol: ${_param:cluster_internal_protocol} |