blob: 9beed6b33b0faed55055b4c54c14bf72c2b02ae0 [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
6parameters:
Andrey Shestakov0c7e1102017-08-10 13:39:04 +03007 linux:
8 system:
9 package:
10 python-pymysql:
11 fromrepo: ${_param:openstack_version}
12 version: latest
Ondrej Smola03ff34e2016-12-01 01:30:33 +010013 mysql:
14 server:
15 database:
16 neutron:
17 encoding: utf8
18 users:
19 - name: neutron
20 password: ${_param:mysql_neutron_password}
21 host: '%'
22 rights: all
23 - name: neutron
24 password: ${_param:mysql_neutron_password}
25 host: ${_param:cluster_local_address}
26 rights: all
27 haproxy:
28 proxy:
29 listen:
30 neutron_api:
31 type: openstack-service
32 service_name: neutron
33 binds:
34 - address: ${_param:cluster_vip_address}
35 port: 9696
36 servers:
37 - name: ctl01
38 host: ${_param:cluster_node01_address}
39 port: 9696
40 params: check inter 10s fastinter 2s downinter 3s rise 3 fall 3
41 - name: ctl02
42 host: ${_param:cluster_node02_address}
43 port: 9696
44 params: check inter 10s fastinter 2s downinter 3s rise 3 fall 3
45 - name: ctl03
46 host: ${_param:cluster_node03_address}
47 port: 9696
48 params: check inter 10s fastinter 2s downinter 3s rise 3 fall 3
49 neutron:
50 server:
51 plugin: contrail