summaryrefslogtreecommitdiffstats
path: root/ci
diff options
context:
space:
mode:
Diffstat (limited to 'ci')
-rw-r--r--ci/bundle_tpl/neutron-gateway.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/ci/bundle_tpl/neutron-gateway.yaml b/ci/bundle_tpl/neutron-gateway.yaml
index 08b89d9f..0780b6b8 100644
--- a/ci/bundle_tpl/neutron-gateway.yaml
+++ b/ci/bundle_tpl/neutron-gateway.yaml
@@ -6,6 +6,7 @@
{% else %}
#os-data-network: {{ opnfv.spaces_dict.data.cidr }}
{% endif %}
+{% if os.network.controller == 'nosdn' %}
{% if opnfv.ext_port is defined %}
{% if opnfv.data_port is defined %}
bridge-mappings: physnet1:br-data external:br-ex
@@ -15,6 +16,11 @@
data-port: br-ex:{{ opnfv.ext_port }}
{% endif %}
{% endif %}
+{% else %}
+{% if opnfv.ext_port is defined %}
+ ext-port: {{ opnfv.ext_port }}
+{% endif %}
+{% endif %}
{% if os.network.controller == 'odl' %}
plugin: ovs-odl
{% elif os.network.controller == 'onos' %}