diff options
Diffstat (limited to 'mcp/reclass/classes/cluster/mcp-odl-noha/openstack/control.yml')
-rw-r--r-- | mcp/reclass/classes/cluster/mcp-odl-noha/openstack/control.yml | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/mcp/reclass/classes/cluster/mcp-odl-noha/openstack/control.yml b/mcp/reclass/classes/cluster/mcp-odl-noha/openstack/control.yml new file mode 100644 index 000000000..4b0beb5be --- /dev/null +++ b/mcp/reclass/classes/cluster/mcp-odl-noha/openstack/control.yml @@ -0,0 +1,40 @@ +############################################################################## +# 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.single + - cluster.mcp-common-noha.openstack_control + - cluster.mcp-odl-noha +parameters: + haproxy: + proxy: + listen: + opendaylight-rest: + type: general-service + service_name: opendaylight + binds: + - address: ${_param:cluster_vip_address} + port: ${_param:opendaylight_rest_port} + servers: + - name: odl01 + host: ${_param:opendaylight_service_host} + port: ${_param:opendaylight_rest_port} + params: ${_param:haproxy_check} + keystone: + server: + openrc_extra: + # For noHA, all public services are available through haproxy on ctl + sdn_controller_ip: ${_param:cluster_vip_address} + sdn_controller_user: admin # Hardcoded to default ODL values for now + sdn_controller_password: ${_param:opendaylight_password} + sdn_controller_webport: ${_param:opendaylight_rest_port} + sdn_controller_restconfport: ${_param:opendaylight_rest_port} + neutron: + server: + backend: + password: ${_param:opendaylight_password} |