diff options
author | Narinder Gupta <narinder.gupta@canonical.com> | 2016-08-15 13:53:15 -0500 |
---|---|---|
committer | Narinder Gupta <narinder.gupta@canonical.com> | 2016-08-15 13:56:48 -0500 |
commit | 64716eb8ce1b9aa5748454acad7d274e4c3d3bdc (patch) | |
tree | 37868a7cdd99102ca715cd1a0107b6310aead585 /ci/config_tpl/bundle_tpl | |
parent | b4c1448a8548b75de14915110abc4a0be292482a (diff) |
modified to support intel pod9.
Change-Id: I665848c577b988798462ba67502bc1ac2386e473
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
Diffstat (limited to 'ci/config_tpl/bundle_tpl')
-rw-r--r-- | ci/config_tpl/bundle_tpl/ceph.yaml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/ci/config_tpl/bundle_tpl/ceph.yaml b/ci/config_tpl/bundle_tpl/ceph.yaml index da1e8b54..10b96843 100644 --- a/ci/config_tpl/bundle_tpl/ceph.yaml +++ b/ci/config_tpl/bundle_tpl/ceph.yaml @@ -10,9 +10,21 @@ #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 %} |