From 7c92a769fd2f01bb207f8f2b4099be450d3cc07a Mon Sep 17 00:00:00 2001 From: Narinder Gupta Date: Mon, 1 Aug 2016 13:06:48 -0500 Subject: fix for generating deploy.yaml if data network not defined. Change-Id: I4b7be1cbbf55f2ba5ea40735c775c9c0c2eb4d40 Signed-off-by: Narinder Gupta --- ci/bundle_tpl/neutron-ovs.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'ci/bundle_tpl/neutron-ovs.yaml') diff --git a/ci/bundle_tpl/neutron-ovs.yaml b/ci/bundle_tpl/neutron-ovs.yaml index a5b92532..c0d34689 100644 --- a/ci/bundle_tpl/neutron-ovs.yaml +++ b/ci/bundle_tpl/neutron-ovs.yaml @@ -3,8 +3,6 @@ options: {% if opnfv.spaces_dict.data is defined %} os-data-network: {{ opnfv.spaces_dict.data.cidr }} -{% else %} - #os-data-network: {{ opnfv.spaces_dict.data.cidr }} {% endif %} {% if os.network.dpdk %} enable-dpdk: true @@ -13,4 +11,9 @@ #default-socket-memory: 1024 #default-socket-cores: 1 {% endif %} +{% if opnfv.ext_port is defined %} +{% if os.network.dvr %} + ext-port: {{ opnfv.ext_port }} +{% endif %} +{% endif %} {# Empty block to avoid bad block trim #} -- cgit 1.2.3-korg