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