blob: 12baf43a8078026efd713b5d4e22a9250395dd3c [file] [log] [blame]
Ondrej Smola03ff34e2016-12-01 01:30:33 +01001classes:
2- service.keepalived.cluster.single
3- service.haproxy.proxy.single
4- service.neutron.control.cluster
5- system.haproxy.proxy.listen.openstack.neutron
Dennis Dmitriev6f5768d2017-10-05 22:18:52 +03006- system.galera.server.database.neutron
Oleksandr Shyshkoe1692d22018-08-31 16:04:16 +03007- system.salt.minion.cert.mysql.clients.openstack.neutron
Ondrej Smola03ff34e2016-12-01 01:30:33 +01008parameters:
Vasyl Saienko047166c2018-03-09 11:17:45 +02009 _param:
10 cluster_internal_protocol: 'http'
Oleksandr Shyshkoe1692d22018-08-31 16:04:16 +030011 openstack_mysql_x509_enabled: False
12 galera_ssl_enabled: False
Andrey Shestakov0c7e1102017-08-10 13:39:04 +030013 linux:
14 system:
15 package:
16 python-pymysql:
17 fromrepo: ${_param:openstack_version}
18 version: latest
Ondrej Smola03ff34e2016-12-01 01:30:33 +010019 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 Avadaniif665ac52017-12-10 21:05:12 +010029 - name: ${_param:cluster_node01_hostname}
Ondrej Smola03ff34e2016-12-01 01:30:33 +010030 host: ${_param:cluster_node01_address}
31 port: 9696
32 params: check inter 10s fastinter 2s downinter 3s rise 3 fall 3
Alexandru Avadaniif665ac52017-12-10 21:05:12 +010033 - name: ${_param:cluster_node02_hostname}
Ondrej Smola03ff34e2016-12-01 01:30:33 +010034 host: ${_param:cluster_node02_address}
35 port: 9696
36 params: check inter 10s fastinter 2s downinter 3s rise 3 fall 3
Alexandru Avadaniif665ac52017-12-10 21:05:12 +010037 - name: ${_param:cluster_node03_hostname}
Ondrej Smola03ff34e2016-12-01 01:30:33 +010038 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 Shyshkoe1692d22018-08-31 16:04:16 +030043 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 Saienko01eb3172018-07-16 13:44:53 +030051 role: ${_param:openstack_node_role}
Ondrej Smola03ff34e2016-12-01 01:30:33 +010052 plugin: contrail
Vasyl Saienko047166c2018-03-09 11:17:45 +020053 identity:
54 protocol: ${_param:cluster_internal_protocol}