From: George Paraskevopoulos Date: Thu, 16 Feb 2017 13:32:32 +0000 (+0200) Subject: [odl-sfc] Fix bug when getting the params for create_vnf X-Git-Tag: 0.2~891^2 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=02be2469753f443643dc25518c6913a39a6691da;p=functest-xtesting.git [odl-sfc] Fix bug when getting the params for create_vnf Change-Id: Iac1cce36a2f4a8965545507b67584a42c5ef775a Signed-off-by: George Paraskevopoulos --- 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