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 |
| 6 | parameters: |
Andrey Shestakov | 0c7e110 | 2017-08-10 13:39:04 +0300 | [diff] [blame] | 7 | linux: |
| 8 | system: |
| 9 | package: |
| 10 | python-pymysql: |
| 11 | fromrepo: ${_param:openstack_version} |
| 12 | version: latest |
Ondrej Smola | 03ff34e | 2016-12-01 01:30:33 +0100 | [diff] [blame] | 13 | 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 |