modfiied for JUJU 2.1-rc1 changes. 81/28481/1
authorNarinder Gupta <narinder.gupta@canonical.com>
Sat, 11 Feb 2017 07:26:26 +0000 (01:26 -0600)
committerNarinder Gupta <narinder.gupta@canonical.com>
Sat, 11 Feb 2017 07:26:26 +0000 (01:26 -0600)
Change-Id: I593e2bf7cf14fe87bde6d83de70ed7fff1b40d2a
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
ci/config_tpl/juju2/bundle_tpl/openstack-dashboard.yaml
ci/config_tpl/juju2/bundle_tpl/subordinate.yaml

index 28ad55c..eec485e 100644 (file)
@@ -4,17 +4,9 @@
 {% 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
+        website: internal-api
+{% if os.ha.mode == 'ha' %}
+        cluster: internal-api
 {% endif %}
 {% endif %}
       options:
index be7ced2..2e0f787 100644 (file)
@@ -30,6 +30,8 @@
 {% endif %}
 {% if opnfv.spaces_dict.data is defined %}
         os-data-network: {{ opnfv.spaces_dict.data.cidr }}
+{% else %}
+        os-data-network: {{ opnfv.spaces_dict.admin.cidr }}
 {% endif %}
 {% elif os.network.controller == 'onos' %}
     neutron-api-onos: