modified to use the default binding in case no binding for those 63/28063/1
authorNarinder Gupta <narinder.gupta@canonical.com>
Sun, 5 Feb 2017 11:09:15 +0000 (05:09 -0600)
committerNarinder Gupta <narinder.gupta@canonical.com>
Sun, 5 Feb 2017 11:09:58 +0000 (05:09 -0600)
service containers.

Change-Id: I794a186669c093d25a4b14806d86fa5f05558964
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
ci/config_tpl/juju2/bundle_tpl/ceilometer.yaml
ci/config_tpl/juju2/bundle_tpl/openbaton.yaml
ci/config_tpl/juju2/bundle_tpl/opnfv-promise.yaml

index 1cfa1e4..528d605 100644 (file)
@@ -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"
index a50c242..7731838 100644 (file)
@@ -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 #}
index 92bf37d..f4abaab 100644 (file)
@@ -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"