summaryrefslogtreecommitdiffstats
path: root/ci/config_tpl/juju2/bundle_tpl/neutron-ovs.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'ci/config_tpl/juju2/bundle_tpl/neutron-ovs.yaml')
-rw-r--r--ci/config_tpl/juju2/bundle_tpl/neutron-ovs.yaml7
1 files changed, 6 insertions, 1 deletions
diff --git a/ci/config_tpl/juju2/bundle_tpl/neutron-ovs.yaml b/ci/config_tpl/juju2/bundle_tpl/neutron-ovs.yaml
index c73f3721..1dd2210d 100644
--- a/ci/config_tpl/juju2/bundle_tpl/neutron-ovs.yaml
+++ b/ci/config_tpl/juju2/bundle_tpl/neutron-ovs.yaml
@@ -1,15 +1,20 @@
neutron-openvswitch:
charm: ./{{ ubuntu.release }}/neutron-openvswitch
-{% if opnfv.spaces_dict.data is defined %}
{% if os.service.bindings %}
+{% if opnfv.spaces_dict.data is defined %}
bindings:
data: admin-api
options:
{% else %}
+ bindings:
+ data: internal-api
options:
{% endif %}
{% else %}
options:
+{% if opnfv.spaces_dict.data is defined %}
+ os-data-network: {{ opnfv.spaces_dict.data.cidr }}
+{% endif %}
{% endif %}
{% if os.network.dpdk %}
enable-dpdk: true