summaryrefslogtreecommitdiffstats
path: root/ci/genBundle.py
diff options
context:
space:
mode:
authorNarinder Gupta <narinder.gupta@canonical.com>2016-09-15 23:57:41 -0500
committerNarinder Gupta <narinder.gupta@canonical.com>2016-09-16 00:17:49 -0500
commitdfc43c69179c1305be42e524c2bfc357aaf87dfd (patch)
treef302967341959bdd1a06c5f1db8b9bf4520a1de9 /ci/genBundle.py
parentf375a92d83e9a6d589ff1961e994004afc5d497e (diff)
modified to accomodate the scaleio bundles and charms.
Change-Id: I1ec22684a67d02c8727cf620cc673aa70cfb0073 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
Diffstat (limited to 'ci/genBundle.py')
-rw-r--r--ci/genBundle.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/ci/genBundle.py b/ci/genBundle.py
index 499cd63a..55f3f6eb 100644
--- a/ci/genBundle.py
+++ b/ci/genBundle.py
@@ -81,6 +81,9 @@ def unit_ceph_qty():
else:
return 2
+def unit_scaleio_qty():
+ """Return size of the scaleio cluster"""
+ return 3
def to_select(qty=False):
"""Return a random list of machines numbers to deploy"""
@@ -206,6 +209,7 @@ template = env.get_template('bundle.yaml')
env.globals.update(get_password=get_password)
env.globals.update(unit_qty=unit_qty)
env.globals.update(unit_ceph_qty=unit_ceph_qty)
+env.globals.update(unit_scaleio_qty=unit_scaleio_qty)
env.globals.update(to_select=to_select)
# Render the template