summaryrefslogtreecommitdiffstats
path: root/ci/config_tpl/juju2/bundle_tpl/neutron-ovs.yaml
diff options
context:
space:
mode:
authorNarinder Gupta <narinder.gupta@canonical.com>2017-05-30 14:26:11 +0000
committerNarinder Gupta <narinder.gupta@canonical.com>2017-05-30 14:26:11 +0000
commit266e1857937d44a0f5a290cc13a8de5bff50eba3 (patch)
tree76786a105f9e9bdc3cb8531531995c37e547b1c4 /ci/config_tpl/juju2/bundle_tpl/neutron-ovs.yaml
parentf258a7449d73f54f6bae7089d59c030cdbed780c (diff)
Revert "modified to use latest Carbon build release."
This reverts commit f258a7449d73f54f6bae7089d59c030cdbed780c. Change-Id: Ia9890a11a9ffd6fb3fb5bff53868f956342eaa0f Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
Diffstat (limited to 'ci/config_tpl/juju2/bundle_tpl/neutron-ovs.yaml')
-rw-r--r--ci/config_tpl/juju2/bundle_tpl/neutron-ovs.yaml12
1 files changed, 11 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 9938bf13..92be0418 100644
--- a/ci/config_tpl/juju2/bundle_tpl/neutron-ovs.yaml
+++ b/ci/config_tpl/juju2/bundle_tpl/neutron-ovs.yaml
@@ -27,6 +27,16 @@
#default-socket-cores: 1
{% endif %}
{% if opnfv.ext_port is defined %}
- bridge-mappings: physnet1:br-data
+{% if os.network.controller == 'nosdn' %}
+{% if opnfv.data_port is defined %}
+ bridge-mappings: physnet1:br-ex physnet2:br-data
+ data-port: br-ex:{{ opnfv.ext_port }} br-data:{{ opnfv.data_port }}
+{% else %}
+ bridge-mappings: physnet1:br-ex
+ data-port: br-ex:{{ opnfv.ext_port }}
+{% endif %}
+{% else %}
+ ext-port: {{ opnfv.ext_port }}
+{% endif %}
{% endif %}
{# Empty block to avoid bad block trim #}