blob: c840e9a51b8c56f8ea0e7f00fc174e7984812a64 [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"
Ann Kamyshnikovaec9c8f92017-06-15 18:13:47 +040012 neutron_enable_qos: False
Ilya Chukhnakov0b472382017-07-05 03:08:22 +030013 neutron_enable_vlan_aware_vms: False
Ondrej Smola03ff34e2016-12-01 01:30:33 +010014 neutron:
15 server:
16 plugin: ml2
17 global_physnet_mtu: ${_param:neutron_global_physnet_mtu}
18 l3_ha: ${_param:neutron_l3_ha}
19 dvr: ${_param:neutron_control_dvr}
Ann Kamyshnikovaec9c8f92017-06-15 18:13:47 +040020 qos: ${_param:neutron_enable_qos}
Ilya Chukhnakov0b472382017-07-05 03:08:22 +030021 vlan_aware_vms: ${_param:neutron_enable_vlan_aware_vms}
Ondrej Smola03ff34e2016-12-01 01:30:33 +010022 backend:
23 engine: ml2
24 tenant_network_types: "${_param:neutron_tenant_network_types}"
25 external_mtu: ${_param:neutron_external_mtu}
26 mechanism:
27 ovs:
28 driver: openvswitch
Simon Pasquier9df35212017-03-23 13:16:53 +010029 compute:
Ondrej Smoladcf6b652017-04-02 17:54:32 +020030 region: ${_param:openstack_region}
Ondrej Smola777ea702017-01-03 18:13:07 +010031 database:
32 host: ${_param:openstack_database_address}
Simon Pasquier9df35212017-03-23 13:16:53 +010033 identity:
Ondrej Smoladcf6b652017-04-02 17:54:32 +020034 region: ${_param:openstack_region}
Ondrej Smola777ea702017-01-03 18:13:07 +010035 message_queue:
36 members:
37 - host: ${_param:openstack_message_queue_node01_address}
38 - host: ${_param:openstack_message_queue_node02_address}
39 - host: ${_param:openstack_message_queue_node03_address}
Ondrej Smola03ff34e2016-12-01 01:30:33 +010040 mysql:
41 server:
42 database:
43 neutron:
44 encoding: utf8
45 users:
46 - name: neutron
47 password: ${_param:mysql_neutron_password}
48 host: '%'
49 rights: all
50 - name: neutron
51 password: ${_param:mysql_neutron_password}
52 host: ${_param:cluster_local_address}
53 rights: all
54 haproxy:
55 proxy:
56 listen:
57 neutron_api:
58 type: openstack-service
59 service_name: neutron
60 binds:
61 - address: ${_param:cluster_vip_address}
62 port: 9696
63 servers:
64 - name: ctl01
65 host: ${_param:cluster_node01_address}
66 port: 9696
67 params: check inter 10s fastinter 2s downinter 3s rise 3 fall 3
68 - name: ctl02
69 host: ${_param:cluster_node02_address}
70 port: 9696
71 params: check inter 10s fastinter 2s downinter 3s rise 3 fall 3
72 - name: ctl03
73 host: ${_param:cluster_node03_address}
74 port: 9696
Simon Pasquier9df35212017-03-23 13:16:53 +010075 params: check inter 10s fastinter 2s downinter 3s rise 3 fall 3