From 406e1c9445a528da391138836308f6375f83e3f9 Mon Sep 17 00:00:00 2001 From: Narinder Gupta Date: Thu, 6 Apr 2017 10:17:05 -0500 Subject: modfiied to support openbaton during the dpeloyment. Change-Id: Ie1c2a6f39927f10f9990c8665a5d886cd163c35b Signed-off-by: Narinder Gupta --- ci/config_tpl/juju2/bundle_tpl/bundle.yaml | 7 +++++-- ci/config_tpl/juju2/bundle_tpl/openbaton.yaml | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) (limited to 'ci/config_tpl') diff --git a/ci/config_tpl/juju2/bundle_tpl/bundle.yaml b/ci/config_tpl/juju2/bundle_tpl/bundle.yaml index 9a46126d..5f3b5e8b 100644 --- a/ci/config_tpl/juju2/bundle_tpl/bundle.yaml +++ b/ci/config_tpl/juju2/bundle_tpl/bundle.yaml @@ -36,16 +36,16 @@ {% else %} {% include 'ceph.yaml' %} {% endif %} +{% if opnfv.storage_dict.ceph is defined %} {% include 'cinder.yaml' %} {% include 'glance.yaml' %} -{% if opnfv.storage_dict.ceph is defined %} +{% endif %} {% if os.service.promise %} {% include 'opnfv-promise.yaml' %} {% endif %} {% if os.service.congress %} {% include 'congress.yaml' %} {% endif %} -{% endif %} {% if os.service.openbaton %} {% include 'openbaton.yaml' %} {% endif %} @@ -83,3 +83,6 @@ {% include 'harelations.yaml' %} {% endif %} {% include 'relations.yaml' %} +{% if os.mano.mode == 'ha' %} +{% include 'harelations.yaml' %} +{% endif %} diff --git a/ci/config_tpl/juju2/bundle_tpl/openbaton.yaml b/ci/config_tpl/juju2/bundle_tpl/openbaton.yaml index 77318384..053da7cd 100644 --- a/ci/config_tpl/juju2/bundle_tpl/openbaton.yaml +++ b/ci/config_tpl/juju2/bundle_tpl/openbaton.yaml @@ -1,5 +1,5 @@ openbaton: - charm: "./trusty/openbaton" + charm: ./{{ ubuntu.release }}/openbaton num_units: 1 {% if os.service.bindings %} bindings: -- cgit 1.2.3-korg