From: Narinder Gupta Date: Sun, 5 Feb 2017 11:09:15 +0000 (-0600) Subject: modified to use the default binding in case no binding for those X-Git-Tag: danube.1.0~62 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F63%2F28063%2F1;p=joid.git modified to use the default binding in case no binding for those service containers. Change-Id: I794a186669c093d25a4b14806d86fa5f05558964 Signed-off-by: Narinder Gupta --- diff --git a/ci/config_tpl/juju2/bundle_tpl/ceilometer.yaml b/ci/config_tpl/juju2/bundle_tpl/ceilometer.yaml index 1cfa1e4f..528d605a 100644 --- a/ci/config_tpl/juju2/bundle_tpl/ceilometer.yaml +++ b/ci/config_tpl/juju2/bundle_tpl/ceilometer.yaml @@ -3,19 +3,7 @@ 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 %} + "": internal-api {% endif %} to: - "lxd:nodes/0" diff --git a/ci/config_tpl/juju2/bundle_tpl/openbaton.yaml b/ci/config_tpl/juju2/bundle_tpl/openbaton.yaml index a50c242e..77318384 100644 --- a/ci/config_tpl/juju2/bundle_tpl/openbaton.yaml +++ b/ci/config_tpl/juju2/bundle_tpl/openbaton.yaml @@ -1,6 +1,10 @@ openbaton: charm: "./trusty/openbaton" num_units: 1 +{% if os.service.bindings %} + bindings: + "": internal-api +{% endif %} to: - "lxd:nodes/0" {# Empty block to avoid bad block trim #} diff --git a/ci/config_tpl/juju2/bundle_tpl/opnfv-promise.yaml b/ci/config_tpl/juju2/bundle_tpl/opnfv-promise.yaml index 92bf37d1..f4abaabf 100644 --- a/ci/config_tpl/juju2/bundle_tpl/opnfv-promise.yaml +++ b/ci/config_tpl/juju2/bundle_tpl/opnfv-promise.yaml @@ -3,19 +3,7 @@ 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 %} + "": internal-api {% endif %} to: - "lxd:nodes/0"