From 02be2469753f443643dc25518c6913a39a6691da Mon Sep 17 00:00:00 2001 From: George Paraskevopoulos Date: Thu, 16 Feb 2017 15:32:32 +0200 Subject: [odl-sfc] Fix bug when getting the params for create_vnf Change-Id: Iac1cce36a2f4a8965545507b67584a42c5ef775a Signed-off-by: George Paraskevopoulos --- functest/utils/openstack_tacker.py | 1 + 1 file changed, 1 insertion(+) (limited to 'functest') 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 -- cgit 1.2.3-korg