From d34b7dfbcee799533c25735db0e8aa47f433c0c7 Mon Sep 17 00:00:00 2001 From: Narinder Gupta Date: Wed, 21 Dec 2016 12:24:09 -0600 Subject: modfiied to have space support in the juju2 configuration. Change-Id: I2ccdee8604ef41ef79bb76eb9a165b1c02147d10 Signed-off-by: Narinder Gupta --- ci/config_tpl/juju2/bundle_tpl/glance.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'ci/config_tpl/juju2/bundle_tpl/glance.yaml') diff --git a/ci/config_tpl/juju2/bundle_tpl/glance.yaml b/ci/config_tpl/juju2/bundle_tpl/glance.yaml index eb812e9a..cf535486 100644 --- a/ci/config_tpl/juju2/bundle_tpl/glance.yaml +++ b/ci/config_tpl/juju2/bundle_tpl/glance.yaml @@ -1,6 +1,18 @@ glance: charm: "./{{ ubuntu.release }}/glance" num_units: {{ unit_qty() }} + bindings: + internal: internal +{% if opnfv.spaces_dict.data is defined %} + admin: admin +{% else %} + admin: internal +{% endif %} +{% if opnfv.spaces_dict.public is defined %} + public: public +{% else %} + public: internal +{% endif %} options: openstack-origin: "cloud:{{ ubuntu.release }}-{{ os.release }}" region: {{ os.region }} -- cgit 1.2.3-korg