summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJose Lausuch <jose.lausuch@ericsson.com>2017-02-16 16:35:37 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-02-16 16:35:37 +0000
commit94b5433cdbbd99d6e649964072a8eb926407e63a (patch)
tree1d5ef730e67976df77f7381271c54672015b6997
parent8d676615742ba80b3da1570c209391a09d1a5f45 (diff)
parent02be2469753f443643dc25518c6913a39a6691da (diff)
Merge "[odl-sfc] Fix bug when getting the params for create_vnf"
-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 d5d7858c5..d745f1052 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