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