summaryrefslogtreecommitdiffstats
path: root/ci/config_tpl/juju2
diff options
context:
space:
mode:
authorNarinder Gupta <narinder.gupta@canonical.com>2017-04-06 10:17:05 -0500
committerNarinder Gupta <narinder.gupta@canonical.com>2017-04-06 10:18:11 -0500
commit406e1c9445a528da391138836308f6375f83e3f9 (patch)
treedbdc33fd52549c59cbc8289d4c9da5387c7b0bee /ci/config_tpl/juju2
parente3983c25772ce327684ed98b7600300bf3132471 (diff)
modfiied to support openbaton during the dpeloyment.
Change-Id: Ie1c2a6f39927f10f9990c8665a5d886cd163c35b Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
Diffstat (limited to 'ci/config_tpl/juju2')
-rw-r--r--ci/config_tpl/juju2/bundle_tpl/bundle.yaml7
-rw-r--r--ci/config_tpl/juju2/bundle_tpl/openbaton.yaml2
2 files changed, 6 insertions, 3 deletions
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: