blob: a6d9d95878ca085e65d73824fd6866d040fc5121 [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
5parameters:
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
25 mysql:
26 server:
27 database:
28 neutron:
29 encoding: utf8
30 users:
31 - name: neutron
32 password: ${_param:mysql_neutron_password}
33 host: '%'
34 rights: all
35 - name: neutron
36 password: ${_param:mysql_neutron_password}
37 host: ${_param:cluster_local_address}
38 rights: all
39 haproxy:
40 proxy:
41 listen:
42 neutron_api:
43 type: openstack-service
44 service_name: neutron
45 binds:
46 - address: ${_param:cluster_vip_address}
47 port: 9696
48 servers:
49 - name: ctl01
50 host: ${_param:cluster_node01_address}
51 port: 9696
52 params: check inter 10s fastinter 2s downinter 3s rise 3 fall 3
53 - name: ctl02
54 host: ${_param:cluster_node02_address}
55 port: 9696
56 params: check inter 10s fastinter 2s downinter 3s rise 3 fall 3
57 - name: ctl03
58 host: ${_param:cluster_node03_address}
59 port: 9696
60 params: check inter 10s fastinter 2s downinter 3s rise 3 fall 3