From 94a8edadc9581d3271a19a69648784aee95b3a5e Mon Sep 17 00:00:00 2001 From: Narinder Gupta Date: Sat, 4 Feb 2017 05:04:28 -0600 Subject: modfiied to take care of using juju 2.1-beta4. Will switch once get the final confirmation of release. Change-Id: Id5964a5fd458df9c0486051dd3c6fbbd2abaa7bd Signed-off-by: Narinder Gupta --- ci/config_tpl/juju2/bundle_tpl/opnfv-promise.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'ci/config_tpl/juju2/bundle_tpl/opnfv-promise.yaml') diff --git a/ci/config_tpl/juju2/bundle_tpl/opnfv-promise.yaml b/ci/config_tpl/juju2/bundle_tpl/opnfv-promise.yaml index d2372871..92bf37d1 100644 --- a/ci/config_tpl/juju2/bundle_tpl/opnfv-promise.yaml +++ b/ci/config_tpl/juju2/bundle_tpl/opnfv-promise.yaml @@ -1,6 +1,22 @@ opnfv-promise: charm: ./{{ ubuntu.release }}/promise num_units: 1 +{% if os.service.bindings %} + bindings: + shared-db: internal-api + internal: internal-api +{% if opnfv.spaces_dict.public is defined %} + public: public-api +{% if opnfv.spaces_dict.data is defined %} + admin: admin-api +{% else %} + admin: internal-api +{% endif %} +{% else %} + admin: internal-api + public: internal-api +{% endif %} +{% endif %} to: - "lxd:nodes/0" {# Empty block to avoid bad block trim #} -- cgit 1.2.3-korg