aboutsummaryrefslogtreecommitdiffstats
path: root/functest
diff options
context:
space:
mode:
authorGeorge Paraskevopoulos <geopar@intracom-telecom.com>2017-02-16 15:32:32 +0200
committerJose Lausuch <jose.lausuch@ericsson.com>2017-02-16 14:53:24 +0000
commit02be2469753f443643dc25518c6913a39a6691da (patch)
treee87dc7d7a9ec54db0d66fff109f85af2737196cf /functest
parent18758a75e76e7f80d7be0c79b7044d404bd588bc (diff)
[odl-sfc] Fix bug when getting the params for create_vnf
Change-Id: Iac1cce36a2f4a8965545507b67584a42c5ef775a Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
Diffstat (limited to 'functest')
-rw-r--r--functest/utils/openstack_tacker.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/functest/utils/openstack_tacker.py b/functest/utils/openstack_tacker.py
index f3597965..68ff3207 100644
--- a/functest/utils/openstack_tacker.py
+++ b/functest/utils/openstack_tacker.py
@@ -118,6 +118,7 @@ def create_vnf(tacker_client, vnf_name, vnfd_id=None,
}
}
if param_file is not None:
+ params = None
with open(param_file) as f:
params = f.read()
vnf_body['vnf']['attributes']['param_values'] = params