aboutsummaryrefslogtreecommitdiffstats
path: root/mcp/reclass/classes/cluster/baremetal-mcp-pike-odl-ha/infra
diff options
context:
space:
mode:
authorMichael Polenchuk <mpolenchuk@mirantis.com>2017-12-11 09:59:24 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-12-11 09:59:25 +0000
commit9b94e9cdbaa76c39aabd7d6aa5befdce92a66a67 (patch)
treefc8310607caed40ff623ff4f0937cbd100eaa8e7 /mcp/reclass/classes/cluster/baremetal-mcp-pike-odl-ha/infra
parentc976700c1e8702881f67f3306a67d56c9f78c327 (diff)
parent60eb5044f4236eced9dc5df4fb787359f166ee6d (diff)
Merge "[baremetal] Update openstack version to pike"
Diffstat (limited to 'mcp/reclass/classes/cluster/baremetal-mcp-pike-odl-ha/infra')
-rw-r--r--mcp/reclass/classes/cluster/baremetal-mcp-pike-odl-ha/infra/config.yml22
-rw-r--r--mcp/reclass/classes/cluster/baremetal-mcp-pike-odl-ha/infra/init.yml14
-rw-r--r--mcp/reclass/classes/cluster/baremetal-mcp-pike-odl-ha/infra/kvm.yml29
-rw-r--r--mcp/reclass/classes/cluster/baremetal-mcp-pike-odl-ha/infra/maas.yml11
4 files changed, 76 insertions, 0 deletions
diff --git a/mcp/reclass/classes/cluster/baremetal-mcp-pike-odl-ha/infra/config.yml b/mcp/reclass/classes/cluster/baremetal-mcp-pike-odl-ha/infra/config.yml
new file mode 100644
index 000000000..d9f723a7c
--- /dev/null
+++ b/mcp/reclass/classes/cluster/baremetal-mcp-pike-odl-ha/infra/config.yml
@@ -0,0 +1,22 @@
+##############################################################################
+# 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
+ - cluster.baremetal-mcp-pike-common-ha.infra.config
+ - cluster.baremetal-mcp-pike-odl-ha.infra
+parameters:
+ reclass:
+ storage:
+ node:
+ opendaylight_control_node01:
+ classes:
+ - cluster.${_param:cluster_name}.opendaylight.control
+ params:
+ linux_system_codename: xenial
+ single_address: ${_param:opendaylight_server_node01_single_address}
diff --git a/mcp/reclass/classes/cluster/baremetal-mcp-pike-odl-ha/infra/init.yml b/mcp/reclass/classes/cluster/baremetal-mcp-pike-odl-ha/infra/init.yml
new file mode 100644
index 000000000..014c57ffa
--- /dev/null
+++ b/mcp/reclass/classes/cluster/baremetal-mcp-pike-odl-ha/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.baremetal-mcp-pike-common-ha.infra
+ - cluster.baremetal-mcp-pike-odl-ha.openstack
+parameters:
+ _param:
+ cluster_name: baremetal-mcp-pike-odl-ha
diff --git a/mcp/reclass/classes/cluster/baremetal-mcp-pike-odl-ha/infra/kvm.yml b/mcp/reclass/classes/cluster/baremetal-mcp-pike-odl-ha/infra/kvm.yml
new file mode 100644
index 000000000..6bcc72dc8
--- /dev/null
+++ b/mcp/reclass/classes/cluster/baremetal-mcp-pike-odl-ha/infra/kvm.yml
@@ -0,0 +1,29 @@
+##############################################################################
+# 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.baremetal-mcp-pike-common-ha.infra.kvm
+ - cluster.baremetal-mcp-pike-odl-ha.infra
+parameters:
+ salt:
+ control:
+ size: # RAM 4096,8192,16384,32768,65536
+ # Default production sizing
+ opendaylight.server:
+ cpu: 4
+ ram: 6144
+ disk_profile: small
+ net_profile: default
+ cluster:
+ internal:
+ node:
+ odl01:
+ name: ${_param:opendaylight_server_node01_hostname}
+ provider: ${_param:infra_kvm_node03_hostname}.${_param:cluster_domain}
+ image: ${_param:salt_control_xenial_image}
+ size: opendaylight.server
diff --git a/mcp/reclass/classes/cluster/baremetal-mcp-pike-odl-ha/infra/maas.yml b/mcp/reclass/classes/cluster/baremetal-mcp-pike-odl-ha/infra/maas.yml
new file mode 100644
index 000000000..f58e632c7
--- /dev/null
+++ b/mcp/reclass/classes/cluster/baremetal-mcp-pike-odl-ha/infra/maas.yml
@@ -0,0 +1,11 @@
+##############################################################################
+# 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.baremetal-mcp-pike-common-ha.infra.maas
+ - cluster.baremetal-mcp-pike-odl-ha.infra