summaryrefslogtreecommitdiffstats
path: root/mcp/reclass/classes
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2017-12-07 14:44:39 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-12-07 14:44:39 +0000
commitf8898b437e3ff5e8c64ff17441377f4cbe1a7a33 (patch)
treea399211262365f03adc617a77cd803f88efa8668 /mcp/reclass/classes
parent2050647bd70043be2eb90a45b7173a25570b8c8d (diff)
parent3a86be3361346a698f755f4ebdb9c1a55bea7094 (diff)
Merge "virtual: Add infra/init.yml for each scenario"
Diffstat (limited to 'mcp/reclass/classes')
-rw-r--r--mcp/reclass/classes/cluster/virtual-mcp-pike-common-noha/infra/init.yml2
-rw-r--r--mcp/reclass/classes/cluster/virtual-mcp-pike-odl-noha/infra/init.yml14
-rw-r--r--mcp/reclass/classes/cluster/virtual-mcp-pike-odl-noha/init.yml4
-rw-r--r--mcp/reclass/classes/cluster/virtual-mcp-pike-ovs-dpdk-noha/infra/init.yml14
-rw-r--r--mcp/reclass/classes/cluster/virtual-mcp-pike-ovs-dpdk-noha/init.yml7
-rw-r--r--mcp/reclass/classes/cluster/virtual-mcp-pike-ovs-noha/infra/init.yml14
-rw-r--r--mcp/reclass/classes/cluster/virtual-mcp-pike-ovs-noha/init.yml7
7 files changed, 47 insertions, 15 deletions
diff --git a/mcp/reclass/classes/cluster/virtual-mcp-pike-common-noha/infra/init.yml b/mcp/reclass/classes/cluster/virtual-mcp-pike-common-noha/infra/init.yml
index 2385411b4..9ae8d1097 100644
--- a/mcp/reclass/classes/cluster/virtual-mcp-pike-common-noha/infra/init.yml
+++ b/mcp/reclass/classes/cluster/virtual-mcp-pike-common-noha/infra/init.yml
@@ -7,6 +7,8 @@
##############################################################################
---
parameters:
+ _param:
+ cluster_domain: ${_param:cluster_name}.local
linux:
network:
host:
diff --git a/mcp/reclass/classes/cluster/virtual-mcp-pike-odl-noha/infra/init.yml b/mcp/reclass/classes/cluster/virtual-mcp-pike-odl-noha/infra/init.yml
new file mode 100644
index 000000000..2cf01eeec
--- /dev/null
+++ b/mcp/reclass/classes/cluster/virtual-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.virtual-mcp-pike-common-noha.infra
+
+parameters:
+ _param:
+ cluster_name: virtual-mcp-pike-odl-noha
diff --git a/mcp/reclass/classes/cluster/virtual-mcp-pike-odl-noha/init.yml b/mcp/reclass/classes/cluster/virtual-mcp-pike-odl-noha/init.yml
index 6a4ef9a48..7575d89b8 100644
--- a/mcp/reclass/classes/cluster/virtual-mcp-pike-odl-noha/init.yml
+++ b/mcp/reclass/classes/cluster/virtual-mcp-pike-odl-noha/init.yml
@@ -10,11 +10,9 @@ classes:
- system.linux.system.single
- cluster.all-mcp-arch-common
- cluster.virtual-mcp-pike-common-noha.init_options
- - cluster.virtual-mcp-pike-common-noha.infra
+ - cluster.virtual-mcp-pike-odl-noha.infra
- cluster.virtual-mcp-pike-odl-noha.openstack
parameters:
_param:
- cluster_domain: virtual-mcp-pike-odl-noha.local
- cluster_name: virtual-mcp-pike-odl-noha
opendaylight_service_host: 172.16.10.111
diff --git a/mcp/reclass/classes/cluster/virtual-mcp-pike-ovs-dpdk-noha/infra/init.yml b/mcp/reclass/classes/cluster/virtual-mcp-pike-ovs-dpdk-noha/infra/init.yml
new file mode 100644
index 000000000..50676fc2c
--- /dev/null
+++ b/mcp/reclass/classes/cluster/virtual-mcp-pike-ovs-dpdk-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.virtual-mcp-pike-common-noha.infra
+
+parameters:
+ _param:
+ cluster_name: virtual-mcp-pike-ovs-dpdk-noha
diff --git a/mcp/reclass/classes/cluster/virtual-mcp-pike-ovs-dpdk-noha/init.yml b/mcp/reclass/classes/cluster/virtual-mcp-pike-ovs-dpdk-noha/init.yml
index e6a7da4df..07e3ef2ca 100644
--- a/mcp/reclass/classes/cluster/virtual-mcp-pike-ovs-dpdk-noha/init.yml
+++ b/mcp/reclass/classes/cluster/virtual-mcp-pike-ovs-dpdk-noha/init.yml
@@ -10,10 +10,5 @@ classes:
- system.linux.system.single
- cluster.all-mcp-arch-common
- cluster.virtual-mcp-pike-common-noha.init_options
- - cluster.virtual-mcp-pike-common-noha.infra
+ - cluster.virtual-mcp-pike-ovs-dpdk-noha.infra
- cluster.virtual-mcp-pike-ovs-dpdk-noha.openstack
-
-parameters:
- _param:
- cluster_domain: virtual-mcp-pike-ovs-dpdk-noha.local
- cluster_name: virtual-mcp-pike-ovs-dpdk-noha
diff --git a/mcp/reclass/classes/cluster/virtual-mcp-pike-ovs-noha/infra/init.yml b/mcp/reclass/classes/cluster/virtual-mcp-pike-ovs-noha/infra/init.yml
new file mode 100644
index 000000000..0f21b9161
--- /dev/null
+++ b/mcp/reclass/classes/cluster/virtual-mcp-pike-ovs-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.virtual-mcp-pike-common-noha.infra
+
+parameters:
+ _param:
+ cluster_name: virtual-mcp-pike-ovs-noha
diff --git a/mcp/reclass/classes/cluster/virtual-mcp-pike-ovs-noha/init.yml b/mcp/reclass/classes/cluster/virtual-mcp-pike-ovs-noha/init.yml
index d217a6978..b29ac95ca 100644
--- a/mcp/reclass/classes/cluster/virtual-mcp-pike-ovs-noha/init.yml
+++ b/mcp/reclass/classes/cluster/virtual-mcp-pike-ovs-noha/init.yml
@@ -10,10 +10,5 @@ classes:
- system.linux.system.single
- cluster.all-mcp-arch-common
- cluster.virtual-mcp-pike-common-noha.init_options
- - cluster.virtual-mcp-pike-common-noha.infra
+ - cluster.virtual-mcp-pike-ovs-noha.infra
- cluster.virtual-mcp-pike-ovs-noha.openstack
-
-parameters:
- _param:
- cluster_domain: virtual-mcp-pike-ovs-noha.local
- cluster_name: virtual-mcp-pike-ovs-noha