diff options
author | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2017-09-13 17:07:06 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-09-13 17:07:06 +0000 |
commit | 06d34f4086f0dcc515b6db0eab3fdeb2d15de640 (patch) | |
tree | 43e2bd03ce647d44890960b9283f5a835ef6f4d2 /mcp | |
parent | 68209af58a0b1bcd110b2c12fcfc9687ed970da4 (diff) | |
parent | 1f0b3c1d8fb41f210a4823c7dc0b5572a24a0cdf (diff) |
Merge "[virtual] Add haproxy entries for opendaylight"
Diffstat (limited to 'mcp')
-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} |