From 50fce384f46a6d961e8062abcffeca717edab725 Mon Sep 17 00:00:00 2001 From: yangyan Date: Fri, 20 Sep 2019 15:47:40 +0800 Subject: fix the typo error of hpy_automation scripts Change-Id: I27b43d63042bdb46f1ff362335a26bf6726674a0 Issue-ID: INT-1239 Signed-off-by: yangyan --- test/hpa_automation/tosca/hpa_automation.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/hpa_automation/tosca/hpa_automation.py b/test/hpa_automation/tosca/hpa_automation.py index c3857094d..4eeabbf0e 100755 --- a/test/hpa_automation/tosca/hpa_automation.py +++ b/test/hpa_automation/tosca/hpa_automation.py @@ -92,10 +92,10 @@ def create_vlm(parameters): def create_vsp(parameters, in_list): vnfs = parameters["vnf"] - vsp_dict = {} + vsp_ids = {} for name, value in vnfs.iteritems(): create_string = "oclip vsp-create -j {} -o {} -e {} -x {} -y {} -i {} -c {} -g {} -u {} -p {} -m {}".format( in_list[0], \ - parameters["onboarding-method"], parameters["vendor-name" ], value.get("vsp-name"), value.get("vsp-desc"), in_list[1], \ + parameters["onboarding-method"], parameters["vendor-name"], value.get("vsp-name"), value.get("vsp-desc"), in_list[1], \ in_list[2], in_list[3], parameters["sdc_creator"], parameters["sdc_password"], parameters["sdc_onboarding_url"] ) command_out = (os.popen(create_string)).read() out_list = get_out_helper(command_out) -- cgit 1.2.3-korg