##############################################################################
# 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
##############################################################################
---
classes:
  - system.neutron.control.opendaylight.cluster
  - cluster.mcp-common-ha.openstack_interface_vcp_biport
  - cluster.mcp-common-ha.openstack_control
  - cluster.mcp-odl-ha.infra
parameters:
  keystone:
    server:
      openrc_extra:
        # For HA, all public services are available through nginx on prx
        sdn_controller_ip: ${_param:cluster_public_host}
        sdn_controller_user: admin  # Hardcoded to default ODL values for now
        sdn_controller_password: admin
        sdn_controller_webport: ${_param:opendaylight_rest_port}
        sdn_controller_restconfport: ${_param:opendaylight_rest_port}