aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoryangyan <yangyanyj@chinamobile.com>2019-09-20 15:47:40 +0800
committerDaniel Rose <dr695h@att.com>2019-09-20 14:04:15 +0000
commit50fce384f46a6d961e8062abcffeca717edab725 (patch)
treec37cff8a7ca2fd4c6b8dbb3d7ad6592b98b7254c
parente8aa3f05cfbf878a7499000aca1257058c4e5d85 (diff)
fix the typo error of hpy_automation scripts
Change-Id: I27b43d63042bdb46f1ff362335a26bf6726674a0 Issue-ID: INT-1239 Signed-off-by: yangyan <yangyanyj@chinamobile.com>
-rwxr-xr-xtest/hpa_automation/tosca/hpa_automation.py4
1 files 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)