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 | parameters: |
| 6 | _param: |
| 7 | neutron_control_dvr: True |
| 8 | neutron_l3_ha: False |
| 9 | neutron_global_physnet_mtu: 1500 |
| 10 | neutron_external_mtu: 1500 |
| 11 | neutron_tenant_network_types: "flat,vxlan" |
| 12 | neutron: |
| 13 | server: |
| 14 | plugin: ml2 |
| 15 | global_physnet_mtu: ${_param:neutron_global_physnet_mtu} |
| 16 | l3_ha: ${_param:neutron_l3_ha} |
| 17 | dvr: ${_param:neutron_control_dvr} |
| 18 | backend: |
| 19 | engine: ml2 |
| 20 | tenant_network_types: "${_param:neutron_tenant_network_types}" |
| 21 | external_mtu: ${_param:neutron_external_mtu} |
| 22 | mechanism: |
| 23 | ovs: |
| 24 | driver: openvswitch |
Ondrej Smola | 777ea70 | 2017-01-03 18:13:07 +0100 | [diff] [blame] | 25 | database: |
| 26 | host: ${_param:openstack_database_address} |
| 27 | message_queue: |
| 28 | members: |
| 29 | - host: ${_param:openstack_message_queue_node01_address} |
| 30 | - host: ${_param:openstack_message_queue_node02_address} |
| 31 | - host: ${_param:openstack_message_queue_node03_address} |
Ondrej Smola | 03ff34e | 2016-12-01 01:30:33 +0100 | [diff] [blame] | 32 | mysql: |
| 33 | server: |
| 34 | database: |
| 35 | neutron: |
| 36 | encoding: utf8 |
| 37 | users: |
| 38 | - name: neutron |
| 39 | password: ${_param:mysql_neutron_password} |
| 40 | host: '%' |
| 41 | rights: all |
| 42 | - name: neutron |
| 43 | password: ${_param:mysql_neutron_password} |
| 44 | host: ${_param:cluster_local_address} |
| 45 | rights: all |
| 46 | haproxy: |
| 47 | proxy: |
| 48 | listen: |
| 49 | neutron_api: |
| 50 | type: openstack-service |
| 51 | service_name: neutron |
| 52 | binds: |
| 53 | - address: ${_param:cluster_vip_address} |
| 54 | port: 9696 |
| 55 | servers: |
| 56 | - name: ctl01 |
| 57 | host: ${_param:cluster_node01_address} |
| 58 | port: 9696 |
| 59 | params: check inter 10s fastinter 2s downinter 3s rise 3 fall 3 |
| 60 | - name: ctl02 |
| 61 | host: ${_param:cluster_node02_address} |
| 62 | port: 9696 |
| 63 | params: check inter 10s fastinter 2s downinter 3s rise 3 fall 3 |
| 64 | - name: ctl03 |
| 65 | host: ${_param:cluster_node03_address} |
| 66 | port: 9696 |
| 67 | params: check inter 10s fastinter 2s downinter 3s rise 3 fall 3 |