Merge "[virtual] Add haproxy entries for opendaylight"
[fuel.git] / mcp / reclass / classes / cluster / virtual-mcp-ocata-odl-router / openstack / control.yml
1 classes:
2 - system.neutron.control.opendaylight.single
3 - cluster.virtual-mcp-ocata-common.openstack_control
4 - cluster.virtual-mcp-ocata-odl-router
5 parameters:
6   neutron:
7     server:
8       backend:
9         router: ${_param:opendaylight_router}
10   haproxy:
11     proxy:
12       listen:
13         opendaylight-web:
14           type: general-service
15           service_name: opendaylight
16           binds:
17           - address: ${_param:cluster_vip_address}
18             port: 8181
19           servers:
20           - name: ctl01
21             host: ${_param:opendaylight_service_host}
22             port: 8181
23             params: ${_param:haproxy_check}
24         opendaylight-rest:
25           type: openstack-service
26           service_name: opendaylight
27           binds:
28           - address: ${_param:cluster_vip_address}
29             port: 8282
30           servers:
31           - name: ctl01
32             host: ${_param:opendaylight_service_host}
33             port: 8282
34             params: ${_param:haproxy_check}