Rectify system reclass after update
[fuel.git] / mcp / reclass / classes / cluster / mcp-common-noha / haproxy_openstack_api.yml
1 ##############################################################################
2 # Copyright (c) 2018 Mirantis Inc., Enea AB and others.
3 # All rights reserved. This program and the accompanying materials
4 # are made available under the terms of the Apache License, Version 2.0
5 # which accompanies this distribution, and is available at
6 # http://www.apache.org/licenses/LICENSE-2.0
7 ##############################################################################
8 ---
9 parameters:
10   _param:
11     haproxy_check: check inter 30m fastinter 2s downinter 4s rise 3 fall 3
12   haproxy:
13     proxy:
14       listen:
15         cinder_api:
16           type: openstack-service
17           service_name: cinder
18           binds:
19             - address: ${_param:cluster_vip_address}
20               port: 8776
21           servers:
22             - name: ctl01
23               host: ${_param:cluster_node01_address}
24               port: 8776
25               params: ${_param:haproxy_check}
26         glance_api:
27           type: openstack-service
28           service_name: glance
29           binds:
30             - address: ${_param:cluster_vip_address}
31               port: 9292
32           servers:
33             - name: ctl01
34               host: ${_param:cluster_node01_address}
35               port: 9292
36               params: ${_param:haproxy_check}
37         glance_registry_api:
38           type: general-service
39           service_name: glance
40           binds:
41             - address: ${_param:cluster_vip_address}
42               port: 9191
43           servers:
44             - name: ctl01
45               host: ${_param:cluster_node01_address}
46               port: 9191
47               params: ${_param:haproxy_check}
48         heat_api:
49           type: openstack-service
50           service_name: heat
51           binds:
52             - address: ${_param:cluster_vip_address}
53               port: 8004
54           servers:
55             - name: ctl01
56               host: ${_param:cluster_node01_address}
57               port: 8004
58               params: ${_param:haproxy_check}
59         heat_cfn_api:
60           type: openstack-service
61           service_name: heat
62           binds:
63             - address: ${_param:cluster_vip_address}
64               port: 8000
65           servers:
66             - name: ctl01
67               host: ${_param:cluster_node01_address}
68               port: 8000
69               params: ${_param:haproxy_check}
70         keystone_public_api:
71           type: openstack-service
72           service_name: keystone
73           binds:
74             - address: ${_param:cluster_vip_address}
75               port: 5000
76           servers:
77             - name: ctl01
78               host: ${_param:cluster_node01_address}
79               port: 5000
80               params: ${_param:haproxy_check}
81         keystone_admin_api:
82           type: openstack-service
83           service_name: keystone
84           binds:
85             - address: ${_param:cluster_vip_address}
86               port: 35357
87           servers:
88             - name: ctl01
89               host: ${_param:cluster_node01_address}
90               port: 35357
91               params: ${_param:haproxy_check}
92         neutron_api:
93           type: openstack-service
94           service_name: neutron
95           binds:
96             - address: ${_param:cluster_vip_address}
97               port: 9696
98           servers:
99             - name: ctl01
100               host: ${_param:cluster_node01_address}
101               port: 9696
102               params: ${_param:haproxy_check}
103         nova_placement_api:
104           type: openstack-service
105           binds:
106             - address: ${_param:cluster_vip_address}
107               port: 8778
108           servers:
109             - name: ctl01
110               host: ${_param:cluster_node01_address}
111               port: 8778
112               params: ${_param:haproxy_check}
113         nova_api:
114           type: openstack-service
115           service_name: nova
116           binds:
117             - address: ${_param:cluster_vip_address}
118               port: 8774
119           servers:
120             - name: ctl01
121               host: ${_param:cluster_node01_address}
122               port: 8774
123               params: ${_param:haproxy_check}
124         nova_metadata_api:
125           type: openstack-service
126           binds:
127             - address: ${_param:cluster_vip_address}
128               port: 8775
129           servers:
130             - name: ctl01
131               host: ${_param:cluster_node01_address}
132               port: 8775
133               params: ${_param:haproxy_check}
134         aodh-api:
135           type: openstack-service
136           service_name: aodh
137           binds:
138             - address: ${_param:cluster_vip_address}
139               port: 8042
140           servers:
141             - name: ctl01
142               host: ${_param:cluster_node01_address}
143               port: 8042
144               params: ${_param:haproxy_check}
145         barbican_api:
146           type: openstack-service
147           service_name: barbican
148           binds:
149             - address: ${_param:cluster_vip_address}
150               port: 9311
151           servers:
152             - name: ctl01
153               host: ${_param:cluster_node01_address}
154               port: 9311
155               params: ${_param:haproxy_check}
156         barbican_admin_api:
157           type: openstack-service
158           service_name: barbican
159           binds:
160             - address: ${_param:cluster_vip_address}
161               port: 9312
162           servers:
163             - name: ctl01
164               host: ${_param:cluster_node01_address}
165               port: 9312
166               params: ${_param:haproxy_check}