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: |
| 7 | mysql: |
| 8 | server: |
| 9 | database: |
| 10 | neutron: |
| 11 | encoding: utf8 |
| 12 | users: |
| 13 | - name: neutron |
| 14 | password: ${_param:mysql_neutron_password} |
| 15 | host: '%' |
| 16 | rights: all |
| 17 | - name: neutron |
| 18 | password: ${_param:mysql_neutron_password} |
| 19 | host: ${_param:cluster_local_address} |
| 20 | rights: all |
| 21 | haproxy: |
| 22 | proxy: |
| 23 | listen: |
| 24 | neutron_api: |
| 25 | type: openstack-service |
| 26 | service_name: neutron |
| 27 | binds: |
| 28 | - address: ${_param:cluster_vip_address} |
| 29 | port: 9696 |
| 30 | servers: |
| 31 | - name: ctl01 |
| 32 | host: ${_param:cluster_node01_address} |
| 33 | port: 9696 |
| 34 | params: check inter 10s fastinter 2s downinter 3s rise 3 fall 3 |
| 35 | - name: ctl02 |
| 36 | host: ${_param:cluster_node02_address} |
| 37 | port: 9696 |
| 38 | params: check inter 10s fastinter 2s downinter 3s rise 3 fall 3 |
| 39 | - name: ctl03 |
| 40 | host: ${_param:cluster_node03_address} |
| 41 | port: 9696 |
| 42 | params: check inter 10s fastinter 2s downinter 3s rise 3 fall 3 |
| 43 | neutron: |
| 44 | server: |
| 45 | plugin: contrail |