summaryrefslogtreecommitdiffstats
path: root/mcp/reclass/classes/cluster/virtual-mcp-pike-odl/openstack/control.yml
diff options
context:
space:
mode:
Diffstat (limited to 'mcp/reclass/classes/cluster/virtual-mcp-pike-odl/openstack/control.yml')
-rw-r--r--mcp/reclass/classes/cluster/virtual-mcp-pike-odl/openstack/control.yml42
1 files changed, 42 insertions, 0 deletions
diff --git a/mcp/reclass/classes/cluster/virtual-mcp-pike-odl/openstack/control.yml b/mcp/reclass/classes/cluster/virtual-mcp-pike-odl/openstack/control.yml
new file mode 100644
index 000000000..f904d64c3
--- /dev/null
+++ b/mcp/reclass/classes/cluster/virtual-mcp-pike-odl/openstack/control.yml
@@ -0,0 +1,42 @@
+##############################################################################
+# Copyright (c) 2017 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.virtual-mcp-pike-common.openstack_control
+ - cluster.virtual-mcp-pike-odl
+parameters:
+ neutron:
+ server:
+ backend:
+ router: ${_param:opendaylight_router}
+ 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}