summaryrefslogtreecommitdiffstats
path: root/ci/config_tpl/juju2/bundle_tpl/neutron-api.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'ci/config_tpl/juju2/bundle_tpl/neutron-api.yaml')
-rw-r--r--ci/config_tpl/juju2/bundle_tpl/neutron-api.yaml5
1 files changed, 3 insertions, 2 deletions
diff --git a/ci/config_tpl/juju2/bundle_tpl/neutron-api.yaml b/ci/config_tpl/juju2/bundle_tpl/neutron-api.yaml
index fa15dd87..72ad0bb9 100644
--- a/ci/config_tpl/juju2/bundle_tpl/neutron-api.yaml
+++ b/ci/config_tpl/juju2/bundle_tpl/neutron-api.yaml
@@ -5,15 +5,16 @@
bindings:
internal: internal-api
shared-db: 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 %}
-{% if opnfv.spaces_dict.public is defined %}
- public: public-api
{% else %}
public: internal-api
+ admin: internal-api
{% endif %}
{% endif %}
options: