modified to accomodate the scaleio bundles and charms.
[joid.git] / ci / config_tpl / bundle_tpl / cinder.yaml
index 4c41747..1d70372 100644 (file)
@@ -1,6 +1,10 @@
     cinder:
       charm: "local:{{ ubuntu.release }}/cinder"
+{% if opnfv.storage_dict.scaleio is defined %}
+      num_units: 1
+{% else %}
       num_units: {{ unit_qty() }}
+{% endif %}
       options:
 {% if os.ha.mode == 'ha' %}
         vip: {{ opnfv.vip.cinder }}
         block-device: None
         glance-api-version: 2
       to:
+{% if opnfv.storage_dict.scaleio is defined %}
+        - "nodes=0"
+{% else %}
 {% for unit_id in to_select() %}
         - "lxc:nodes={{ unit_id }}"
 {% endfor %}
+{% endif %}