diff options
author | Michael Polenchuk <mpolenchuk@mirantis.com> | 2017-09-13 12:43:36 +0400 |
---|---|---|
committer | Michael Polenchuk <mpolenchuk@mirantis.com> | 2017-09-13 12:47:58 +0400 |
commit | 1f0b3c1d8fb41f210a4823c7dc0b5572a24a0cdf (patch) | |
tree | c8386807cf1f5d5e88dc09dd28923b170a7a227a /mcp/reclass/classes/cluster/virtual-mcp-ocata-odl-router/openstack/control.yml | |
parent | b30697a84ce41ee20a8b6070acda60f3a5cfac26 (diff) |
[virtual] Add haproxy entries for opendaylight
Change-Id: Id0303d217dbe71e4b04834e545feae0660172b23
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
Diffstat (limited to 'mcp/reclass/classes/cluster/virtual-mcp-ocata-odl-router/openstack/control.yml')
-rw-r--r-- | mcp/reclass/classes/cluster/virtual-mcp-ocata-odl-router/openstack/control.yml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/mcp/reclass/classes/cluster/virtual-mcp-ocata-odl-router/openstack/control.yml b/mcp/reclass/classes/cluster/virtual-mcp-ocata-odl-router/openstack/control.yml index 2321caf5d..5358db4db 100644 --- a/mcp/reclass/classes/cluster/virtual-mcp-ocata-odl-router/openstack/control.yml +++ b/mcp/reclass/classes/cluster/virtual-mcp-ocata-odl-router/openstack/control.yml @@ -7,3 +7,28 @@ parameters: server: backend: router: ${_param:opendaylight_router} + haproxy: + proxy: + listen: + opendaylight-web: + type: general-service + service_name: opendaylight + binds: + - address: ${_param:cluster_vip_address} + port: 8181 + servers: + - name: ctl01 + host: ${_param:opendaylight_service_host} + port: 8181 + params: ${_param:haproxy_check} + opendaylight-rest: + type: openstack-service + service_name: opendaylight + binds: + - address: ${_param:cluster_vip_address} + port: 8282 + servers: + - name: ctl01 + host: ${_param:opendaylight_service_host} + port: 8282 + params: ${_param:haproxy_check} |