summaryrefslogtreecommitdiffstats
path: root/mcp/reclass/classes/cluster/mcp-pike-odl-noha/openstack/control.yml
blob: 5bc0f2444dfbc09d710f061fbc5dba90a3208905 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
##############################################################################
# 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-pike-common-noha.openstack_control
  - cluster.mcp-pike-odl-noha
parameters:
  haproxy:
    proxy:
      listen:
        opendaylight-web:
          type: general-service
          service_name: opendaylight
          binds:
            - address: ${_param:cluster_vip_address}
              port: 8181
          servers:
            - name: odl01
              host: ${_param:opendaylight_service_host}
              port: 8181
              params: ${_param:haproxy_check}
        opendaylight-rest:
          type: general-service
          service_name: opendaylight
          binds:
            - address: ${_param:cluster_vip_address}
              port: 8282
          servers:
            - name: odl01
              host: ${_param:opendaylight_service_host}
              port: 8282
              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_username: admin  # Hardcoded to default ODL values for now
        sdn_password: admin