modified to use the openvswitch and gateway new way to define the 87/17987/1
authorNarinder Gupta <narinder.gupta@canonical.com>
Thu, 4 Aug 2016 01:20:18 +0000 (20:20 -0500)
committerNarinder Gupta <narinder.gupta@canonical.com>
Thu, 4 Aug 2016 01:21:08 +0000 (20:21 -0500)
external network with bridge-mapping and data-port

Change-Id: I99fbea5732a8a1aea323ea9dc98e4c8a2b72995f
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
ci/bundle_tpl/neutron-ovs.yaml

index 6233421..087783d 100644 (file)
 {% endif %}
 {% if opnfv.ext_port is defined  %}
 {% if os.network.dvr %}
-        ext-port: {{ opnfv.ext_port }}
+{% if os.network.controller == 'nosdn' %}
+{% if opnfv.data_port is defined  %}
+        bridge-mappings: physnet1:br-data external:br-ex
+        data-port: br-data:{{ opnfv.data_port }} br-ex:{{ opnfv.ext_port }}
+{% else %}
+        bridge-mappings: external:br-ex
+        data-port: br-ex:{{ opnfv.ext_port }}
+{% endif %}
+{% else %}
+         ext-port: {{ opnfv.ext_port }}
+{% endif %}
 {% endif %}
 {% endif %}
 {# Empty block to avoid bad block trim #}