From dfc43c69179c1305be42e524c2bfc357aaf87dfd Mon Sep 17 00:00:00 2001 From: Narinder Gupta Date: Thu, 15 Sep 2016 23:57:41 -0500 Subject: modified to accomodate the scaleio bundles and charms. Change-Id: I1ec22684a67d02c8727cf620cc673aa70cfb0073 Signed-off-by: Narinder Gupta --- ci/config_tpl/bundle_tpl/scaleio.yaml | 54 +++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 ci/config_tpl/bundle_tpl/scaleio.yaml (limited to 'ci/config_tpl/bundle_tpl/scaleio.yaml') diff --git a/ci/config_tpl/bundle_tpl/scaleio.yaml b/ci/config_tpl/bundle_tpl/scaleio.yaml new file mode 100644 index 00000000..a970dd0d --- /dev/null +++ b/ci/config_tpl/bundle_tpl/scaleio.yaml @@ -0,0 +1,54 @@ +{% if opnfv.storage_dict.scaleio is defined %} + scaleio-mdm: + charm: "local:{{ ubuntu.release }}/scaleio-mdm" + num_units: {{ unit_scaleio_qty() }} + options: + cluster-mode: 3 + to: +{% if os.hyperconverged %} +{% for unit_id in range(0, 3) %} + - "nodes={{ unit_id }}" +{% endfor %} +{% else %} + - "nodes=0" + - "nodes-compute=0" + - "nodes-compute=1" +{% endif %} + scaleio-sds: + charm: "local:{{ ubuntu.release }}/scaleio-sds" + num_units: {{ opnfv.units }} + options: + protection-domain: 'pd1' + device-paths: {{ opnfv.storage_dict.scaleio.disk }} + to: +{% if os.hyperconverged %} +{% for unit_id in range(0, opnfv.units) %} + - "nodes={{ unit_id }}" +{% endfor %} +{% else %} +{% for unit_id in range(0, opnfv.units) %} + - "{{ unit_id }}" +{% endfor %} +{% endif %} + scaleio-sdc: + charm: "local:{{ ubuntu.release }}/scaleio-sdc" + num_units: {{ opnfv.units }} + to: +{% if os.hyperconverged %} +{% for unit_id in range(0, opnfv.units) %} + - "nodes={{ unit_id }}" +{% endfor %} +{% else %} +{% for unit_id in range(0, opnfv.units) %} + - "{{ unit_id }}" +{% endfor %} +{% endif %} + scaleio-gw: + charm: "local:{{ ubuntu.release }}/scaleio-gw" + to: + - "nodes=0" + scaleio-gui: + charm: "local:{{ ubuntu.release }}/scaleio-gui" + to: + - "nodes=0" +{% endif %} -- cgit 1.2.3-korg