##############################################################################
# Copyright (c) 2017 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
##############################################################################
---
classes:
  - cluster.baremetal-mcp-ocata-common.openstack_proxy
  - cluster.baremetal-mcp-ocata-odl-ha.infra
parameters:
  nginx:
    server:
      site:
        nginx_proxy_opendaylight_web:
          enabled: true
          type: nginx_proxy
          name: opendaylight_web
          check: false
          proxy:
            host: ${_param:opendaylight_service_host}
            port: 8181
            protocol: http
          host:
            name: ${_param:nginx_proxy_openstack_api_host}
            port: 8181
        nginx_proxy_opendaylight_rest:
          enabled: true
          type: nginx_proxy
          name: opendaylight_rest
          check: false
          proxy:
            host: ${_param:opendaylight_service_host}
            port: 8282
            protocol: http
          host:
            name: ${_param:nginx_proxy_openstack_api_host}
            port: 8282