modified to support intel pod9.
[joid.git] / ci / config_tpl / bundle_tpl / ceph.yaml
index da1e8b5..10b9684 100644 (file)
         #ceph-cluster-network: {{ opnfv.spaces_dict.storage.cidr }}
 {% endif %}
       to:
+{% if os.hyperconverged %}
 {% for unit_id in to_select(unit_ceph_qty()) %}
         - "lxc:nodes={{ unit_id }}"
 {% endfor %}
+{% else %}
+{% if os.ha.mode == 'ha' %}
+{% for unit_id in range(0, 3) %}
+        - "lxc:nodes={{ unit_id }}"
+{% endfor %}
+{% else %}
+        - "lxc:nodes=0"
+        - "lxc:nodes=0"
+        - "lxc:nodes=0"
+{% endif %}
+{% endif %}
     ceph-osd:
       charm: "local:{{ ubuntu.release }}/ceph-osd"
 {% if os.hyperconverged %}