blob: cc39b0a2d384cf35b068ee4c7530b97e62577f1b [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
Simon Pasquier9df35212017-03-23 13:16:53 +010025 compute:
26 region: $_param:openstack_region}
Ondrej Smola777ea702017-01-03 18:13:07 +010027 database:
28 host: ${_param:openstack_database_address}
Simon Pasquier9df35212017-03-23 13:16:53 +010029 identity:
30 region: $_param:openstack_region}
Ondrej Smola777ea702017-01-03 18:13:07 +010031 message_queue:
32 members:
33 - host: ${_param:openstack_message_queue_node01_address}
34 - host: ${_param:openstack_message_queue_node02_address}
35 - host: ${_param:openstack_message_queue_node03_address}
Ondrej Smola03ff34e2016-12-01 01:30:33 +010036 mysql:
37 server:
38 database:
39 neutron:
40 encoding: utf8
41 users:
42 - name: neutron
43 password: ${_param:mysql_neutron_password}
44 host: '%'
45 rights: all
46 - name: neutron
47 password: ${_param:mysql_neutron_password}
48 host: ${_param:cluster_local_address}
49 rights: all
50 haproxy:
51 proxy:
52 listen:
53 neutron_api:
54 type: openstack-service
55 service_name: neutron
56 binds:
57 - address: ${_param:cluster_vip_address}
58 port: 9696
59 servers:
60 - name: ctl01
61 host: ${_param:cluster_node01_address}
62 port: 9696
63 params: check inter 10s fastinter 2s downinter 3s rise 3 fall 3
64 - name: ctl02
65 host: ${_param:cluster_node02_address}
66 port: 9696
67 params: check inter 10s fastinter 2s downinter 3s rise 3 fall 3
68 - name: ctl03
69 host: ${_param:cluster_node03_address}
70 port: 9696
Simon Pasquier9df35212017-03-23 13:16:53 +010071 params: check inter 10s fastinter 2s downinter 3s rise 3 fall 3