From 8076a87e542a67f321f84311350d20946bee14a2 Mon Sep 17 00:00:00 2001 From: Brian Freeman Date: Tue, 13 Nov 2018 11:34:48 -0500 Subject: fixes from vCPE testing Issue-ID: INT-717 Change-Id: If2c44e08288eee955b7a3548a802be37a15a601e Signed-off-by: Brian Freeman --- test/vcpe/vcpe_custom_service.py | 7 +++---- 1 file changed, 3 insertions(+), 4 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 ad55ed586..f02802353 100755 --- a/test/vcpe/vcpe_custom_service.py +++ b/test/vcpe/vcpe_custom_service.py @@ -68,15 +68,14 @@ class CustomService: def create_custom_service(self, csar_file, vgw_template_file, vgw_gra_template_file, preload_dict=None): name_suffix = datetime.now().strftime('%Y%m%d%H%M') - self.load_object(vgw_vfmod_name_index,vgw_vfmod_name_index_file) if self.vcpecommon.oom_mode: brg_mac = str(raw_input("Enter the BRG MAC address: ")) else: brg_mac = self.vcpecommon.get_brg_mac_from_sdnc() # get name index - self.load_object(vgw_vfmod_name_index,vgw_vfmod_name_index_file) - vgw_vfmod_name_index=vgw_vfmod_name_index+1 - self.save_object(vgw_vfmod_name_index,vgw_vfmod_name_index_file) + 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) # preload vGW if preload_dict: preloader = preload.Preload(self.vcpecommon) -- cgit 1.2.3-korg