Rectify system reclass after update
[fuel.git] / mcp / reclass / classes / cluster / mcp-odl-noha / openstack / control.yml
1 ##############################################################################
2 # Copyright (c) 2018 Mirantis Inc., Enea AB and others.
3 # All rights reserved. This program and the accompanying materials
4 # are made available under the terms of the Apache License, Version 2.0
5 # which accompanies this distribution, and is available at
6 # http://www.apache.org/licenses/LICENSE-2.0
7 ##############################################################################
8 ---
9 classes:
10   - system.neutron.control.opendaylight.single
11   - cluster.mcp-common-noha.openstack_control
12   - cluster.mcp-odl-noha
13 parameters:
14   haproxy:
15     proxy:
16       listen:
17         opendaylight-rest:
18           type: general-service
19           service_name: opendaylight
20           binds:
21             - address: ${_param:cluster_vip_address}
22               port: ${_param:opendaylight_rest_port}
23           servers:
24             - name: odl01
25               host: ${_param:opendaylight_service_host}
26               port: ${_param:opendaylight_rest_port}
27               params: ${_param:haproxy_check}
28   keystone:
29     server:
30       openrc_extra:
31         # For noHA, all public services are available through haproxy on ctl
32         sdn_controller_ip: ${_param:cluster_vip_address}
33         sdn_controller_user: admin  # Hardcoded to default ODL values for now
34         sdn_controller_password: ${_param:opendaylight_password}
35         sdn_controller_webport: ${_param:opendaylight_rest_port}
36         sdn_controller_restconfport: ${_param:opendaylight_rest_port}
37   neutron:
38     server:
39       backend:
40         password: ${_param:opendaylight_password}