aboutsummaryrefslogtreecommitdiffstats
path: root/mcp/reclass/classes/cluster/mcp-pike-odl-noha/infra
diff options
context:
space:
mode:
Diffstat (limited to 'mcp/reclass/classes/cluster/mcp-pike-odl-noha/infra')
-rw-r--r--mcp/reclass/classes/cluster/mcp-pike-odl-noha/infra/config.yml27
-rw-r--r--mcp/reclass/classes/cluster/mcp-pike-odl-noha/infra/init.yml14
2 files changed, 41 insertions, 0 deletions
diff --git a/mcp/reclass/classes/cluster/mcp-pike-odl-noha/infra/config.yml b/mcp/reclass/classes/cluster/mcp-pike-odl-noha/infra/config.yml
new file mode 100644
index 000000000..29db738ac
--- /dev/null
+++ b/mcp/reclass/classes/cluster/mcp-pike-odl-noha/infra/config.yml
@@ -0,0 +1,27 @@
+##############################################################################
+# 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.reclass.storage.system.opendaylight_control_single
+ - system.reclass.storage.system.openstack_gateway_single
+ - cluster.mcp-pike-common-noha.infra.config
+ - cluster.mcp-pike-odl-noha
+parameters:
+ reclass:
+ storage:
+ node:
+ opendaylight_control_node01:
+ classes:
+ - cluster.${_param:cluster_name}.opendaylight.control
+ params:
+ linux_system_codename: xenial
+ single_address: ${_param:opendaylight_service_host}
+ openstack_gateway_node01:
+ params:
+ tenant_address: ${_param:opnfv_openstack_gateway_node01_tenant_address}
+ external_address: ${_param:opnfv_openstack_gateway_node01_external_address}
diff --git a/mcp/reclass/classes/cluster/mcp-pike-odl-noha/infra/init.yml b/mcp/reclass/classes/cluster/mcp-pike-odl-noha/infra/init.yml
new file mode 100644
index 000000000..16d17de1e
--- /dev/null
+++ b/mcp/reclass/classes/cluster/mcp-pike-odl-noha/infra/init.yml
@@ -0,0 +1,14 @@
+##############################################################################
+# 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:
+ - cluster.mcp-pike-common-noha.infra
+
+parameters:
+ _param:
+ cluster_name: mcp-pike-odl-noha