From 5fbb32535bb6456989407a946587b1bcbe94d0ee Mon Sep 17 00:00:00 2001 From: Narinder Gupta Date: Mon, 9 Jan 2017 06:44:27 -0600 Subject: modified to made an option to support spaces as per JUJU 2.0 Change-Id: Id768aa396924a2f17b4f530749452ee1e41b20b2 Signed-off-by: Narinder Gupta --- ci/config_tpl/juju2/bundle_tpl/cinder.yaml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ci/config_tpl/juju2/bundle_tpl/cinder.yaml') diff --git a/ci/config_tpl/juju2/bundle_tpl/cinder.yaml b/ci/config_tpl/juju2/bundle_tpl/cinder.yaml index 18313cbb..82c15c38 100644 --- a/ci/config_tpl/juju2/bundle_tpl/cinder.yaml +++ b/ci/config_tpl/juju2/bundle_tpl/cinder.yaml @@ -5,6 +5,7 @@ {% else %} num_units: {{ unit_qty() }} {% endif %} +{% if os.service.bindings %} bindings: internal: internal {% if opnfv.spaces_dict.data is defined %} @@ -16,6 +17,7 @@ public: public {% else %} public: internal +{% endif %} {% endif %} options: openstack-origin: "cloud:{{ ubuntu.release }}-{{ os.release }}" -- cgit 1.2.3-korg