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-05 13:40:58 +0400
committerMichael Polenchuk <mpolenchuk@mirantis.com>2017-12-11 13:11:02 +0400
commit60eb5044f4236eced9dc5df4fb787359f166ee6d (patch)
tree73693e5d2e5df14ae305a2ac79c14c6885f6ada2 /mcp/reclass/classes/cluster/baremetal-mcp-pike-odl-ha/infra
parent24dad46d51e6740400effd037f14d99defc5eafd (diff)
[baremetal] Update openstack version to pike
Change-Id: If4208e937734df72b10aad259c65a2617ff5e19c Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
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