From 63a0afd8ee0062f8998214973ef3ccd62f2c3bf7 Mon Sep 17 00:00:00 2001 From: Yang Xu Date: Tue, 20 Nov 2018 16:01:01 -0500 Subject: Fix issues in vcpe test script 1. SDNC GRA url issue 2. Add mr ip and port to prepload 3. Allow SO service_recipe table to be populated 4. Add SDNC ip to preload 5. Add vfmoduleName section in SO request 6. Set Generic NeutronNet shared as False Change-Id: Iba4ff695759ceab53e33367092b6b59678e082e7 Issue-ID: INT-717 Signed-off-by: Yang Xu (cherry picked from commit 1a0a0466716419880ab6b1fc6a94ec82a2966cb0) --- test/vcpe/vcpe_custom_service.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/vcpe/vcpe_custom_service.py') diff --git a/test/vcpe/vcpe_custom_service.py b/test/vcpe/vcpe_custom_service.py index f02802353..408f8a8c4 100755 --- a/test/vcpe/vcpe_custom_service.py +++ b/test/vcpe/vcpe_custom_service.py @@ -75,7 +75,7 @@ class CustomService: # get name index self.vgw_vfmod_name_index= self.vcpecommon.load_object(self.vcpecommon.vgw_vfmod_name_index_file) self.vgw_vfmod_name_index=self.vgw_vfmod_name_index + 1 - self.save_object(vgw_vfmod_name_index,self.vcpecommon.vgw_vfmod_name_index_file) + self.vcpecommon.save_object(self.vgw_vfmod_name_index,self.vcpecommon.vgw_vfmod_name_index_file) # preload vGW if preload_dict: preloader = preload.Preload(self.vcpecommon) @@ -83,7 +83,7 @@ class CustomService: self.vcpecommon.increase_ip_address_or_vni_in_template(vgw_template_file, parameters_to_change) preloader.preload_vgw(vgw_template_file, brg_mac, preload_dict, name_suffix) # preload vGW-GRA - preloader.preload_vgw_gra(vgw_gra_template_file, brg_mac, preload_dict, name_suffix, vgw_vfmod_name_index) + preloader.preload_vgw_gra(vgw_gra_template_file, brg_mac, preload_dict, name_suffix, str(self.vgw_vfmod_name_index)) # create service so = soutils.SoUtils(self.vcpecommon, 'v5') -- cgit 1.2.3-korg