cleaned-removed commented-out legacy code
This commit is contained in:
@@ -66,38 +66,6 @@ class EPCManagement():
|
||||
self.MmeIPAddress = ''
|
||||
self.containerPrefix = 'prod'
|
||||
|
||||
#-----------------------------------------------------------
|
||||
# Setter and Getters on Public Members
|
||||
#-----------------------------------------------------------
|
||||
|
||||
# def SetIPAddress(self, ipaddress):
|
||||
# self.IPAddress = ipaddress
|
||||
# def GetIPAddress(self):
|
||||
# return self.IPAddress
|
||||
# def SetUserName(self, username):
|
||||
# self.UserName = username
|
||||
# def GetUserName(self):
|
||||
# return self.UserName
|
||||
# def SetPassword(self, password):
|
||||
# self.Password = password
|
||||
# def GetPassword(self):
|
||||
# return self.Password
|
||||
# def SetSourceCodePath(self, sourcecodepath):
|
||||
# self.SourceCodePath = sourcecodepath
|
||||
# def GetSourceCodePath(self):
|
||||
# return self.SourceCodePath
|
||||
# def SetType(self, kind):
|
||||
# self.Type = kind
|
||||
# def GetType(self):
|
||||
# return self.Type
|
||||
# def SetHtmlObj(self, obj):
|
||||
# self.htmlObj = obj
|
||||
# def SetTestCase_id(self, idx):
|
||||
# self.testCase_id = idx
|
||||
# def GetMmeIPAddress(self):
|
||||
# return self.MmeIPAddress
|
||||
# def SetContainerPrefix(self, prefix):
|
||||
# self.containerPrefix = prefix
|
||||
|
||||
#-----------------------------------------------------------
|
||||
# EPC management functions
|
||||
|
||||
@@ -90,61 +90,6 @@ class HTMLManagement():
|
||||
self.htmlUEConnected = 1
|
||||
|
||||
|
||||
# def SethtmlUEFailureMsg(self,huefa):
|
||||
# self.htmlUEFailureMsg = huefa
|
||||
# def GethtmlUEFailureMsg(self):
|
||||
# return self.htmlUEFailureMsg
|
||||
# def SetHmleNBFailureMsg(self, msg):
|
||||
# self.htmleNBFailureMsg = msg
|
||||
# def Setdesc(self, dsc):
|
||||
# self.desc = dsc
|
||||
# def SetstartTime(self, sttime):
|
||||
# self.startTime = sttime
|
||||
# def SettestCase_id(self, tcid):
|
||||
# self.testCase_id = tcid
|
||||
# def GettestCase_id(self):
|
||||
# return self.testCase_id
|
||||
# def SetranRepository(self, repository):
|
||||
# self.ranRepository = repository
|
||||
# def SetranAllowMerge(self, merge):
|
||||
# self.ranAllowMerge = merge
|
||||
# def SetranBranch(self, branch):
|
||||
# self.ranBranch = branch
|
||||
# def SetranCommitID(self, commitid):
|
||||
# self.ranCommitID = commitid
|
||||
# def SetranTargetBranch(self, tbranch):
|
||||
# self.ranTargetBranch = tbranch
|
||||
# def SethtmlNb_Smartphones(self, nbUEs):
|
||||
# self.htmlNb_Smartphones = nbUEs
|
||||
# def SethtmlNb_CATM_Modules(self, nbUEs):
|
||||
# self.htmlNb_CATM_Modules = nbUEs
|
||||
# def SetnbTestXMLfiles(self, nb):
|
||||
# self.nbTestXMLfiles = nb
|
||||
# def GetnbTestXMLfiles(self):
|
||||
# return self.nbTestXMLfiles
|
||||
# def SettestXMLfiles(self, xmlFile):
|
||||
# self.testXMLfiles.append(xmlFile)
|
||||
# def SethtmlTabRefs(self, tabRef):
|
||||
# self.htmlTabRefs.append(tabRef)
|
||||
# def SethtmlTabNames(self, tabName):
|
||||
# self.htmlTabNames.append(tabName)
|
||||
# def SethtmlTabIcons(self, tabIcon):
|
||||
# self.htmlTabIcons.append(tabIcon)
|
||||
# def SetOsVersion(self, version, idx):
|
||||
# self.OsVersion[idx] = version
|
||||
# def SetKernelVersion(self, version, idx):
|
||||
# self.KernelVersion[idx] = version
|
||||
# def SetUhdVersion(self, version, idx):
|
||||
# self.UhdVersion[idx] = version
|
||||
# def SetUsrpBoard(self, version, idx):
|
||||
# self.UsrpBoard[idx] = version
|
||||
# def SetCpuNb(self, nb, idx):
|
||||
# self.CpuNb[idx] = nb
|
||||
# def SetCpuModel(self, model, idx):
|
||||
# self.CpuModel[idx] = model
|
||||
# def SetCpuMHz(self, freq, idx):
|
||||
# self.CpuMHz[idx] = freq
|
||||
|
||||
|
||||
#-----------------------------------------------------------
|
||||
# HTML structure creation functions
|
||||
|
||||
@@ -3084,12 +3084,6 @@ class OaiCiTest():
|
||||
|
||||
|
||||
def CheckClassValidity(xml_class_list,action,id):
|
||||
# if action !='COTS_UE_Airplane' and action!='Build_PhySim' and action!='Run_PhySim' and action != 'Build_eNB' and action != 'WaitEndBuild_eNB' and action != 'Initialize_eNB' and action != 'Terminate_eNB' and
|
||||
# action != 'Initialize_UE' and action != 'Terminate_UE' and action != 'Attach_UE' and action != 'Detach_UE' and action != 'Build_OAI_UE' and action != 'Initialize_OAI_UE' and action != 'Terminate_OAI_UE' and
|
||||
# action != 'DataDisable_UE' and action != 'DataEnable_UE' and action != 'CheckStatusUE' and action != 'Ping' and action != 'Iperf' and action != 'Reboot_UE' and action != 'Initialize_FlexranCtrl' and
|
||||
# action != 'Terminate_FlexranCtrl' and action != 'Initialize_HSS' and action != 'Terminate_HSS' and action != 'Initialize_MME' and action != 'Terminate_MME' and action != 'Initialize_SPGW' and
|
||||
# action != 'Terminate_SPGW' and action != 'Initialize_CatM_module' and action != 'Terminate_CatM_module' and action != 'Attach_CatM_module' and action != 'Detach_CatM_module' and
|
||||
# action != 'Ping_CatM_module' and action != 'IdleSleep' and action != 'Perform_X2_Handover':
|
||||
if action not in xml_class_list:
|
||||
logging.debug('ERROR: test-case ' + id + ' has unlisted class ' + action + ' ##CHECK xml_class_list.yml')
|
||||
resp=False
|
||||
@@ -3339,187 +3333,6 @@ ldpc=cls_physim.PhySim() #create an instance for LDPC test using GPU or CPU b
|
||||
import args_parse
|
||||
py_param_file_present, py_params, mode = args_parse.ArgsParse(sys.argv,CiTestObj,RAN,HTML,EPC,ldpc,HELP)
|
||||
|
||||
#argvs = sys.argv
|
||||
#py_param_file_present = False
|
||||
#
|
||||
#while len(argvs) > 1:
|
||||
# myArgv = argvs.pop(1) # 0th is this file's name
|
||||
#
|
||||
# #--help
|
||||
# if re.match('^\-\-help$', myArgv, re.IGNORECASE):
|
||||
# HELP.GenericHelp(CONST.Version)
|
||||
# sys.exit(0)
|
||||
#
|
||||
# #--apply=<filename> as parameters file, to replace inline parameters
|
||||
# elif re.match('^\-\-Apply=(.+)$', myArgv, re.IGNORECASE):
|
||||
# matchReg = re.match('^\-\-Apply=(.+)$', myArgv, re.IGNORECASE)
|
||||
# py_params_file = matchReg.group(1)
|
||||
# with open(py_params_file,'r') as file:
|
||||
# # The FullLoader parameter handles the conversion from YAML
|
||||
# # scalar values to Python dictionary format
|
||||
# py_params = yaml.load(file,Loader=yaml.FullLoader)
|
||||
# py_param_file_present = True #to be removed once validated
|
||||
# #AssignParams(py_params) #to be uncommented once validated
|
||||
#
|
||||
# #consider inline parameters
|
||||
# elif re.match('^\-\-mode=(.+)$', myArgv, re.IGNORECASE):
|
||||
# matchReg = re.match('^\-\-mode=(.+)$', myArgv, re.IGNORECASE)
|
||||
# mode = matchReg.group(1)
|
||||
# elif re.match('^\-\-eNBRepository=(.+)$|^\-\-ranRepository(.+)$', myArgv, re.IGNORECASE):
|
||||
# if re.match('^\-\-eNBRepository=(.+)$', myArgv, re.IGNORECASE):
|
||||
# matchReg = re.match('^\-\-eNBRepository=(.+)$', myArgv, re.IGNORECASE)
|
||||
# else:
|
||||
# matchReg = re.match('^\-\-ranRepository=(.+)$', myArgv, re.IGNORECASE)
|
||||
# CiTestObj.ranRepository = matchReg.group(1)
|
||||
# RAN.ranRepository=matchReg.group(1)
|
||||
# HTML.ranRepository=matchReg.group(1)
|
||||
# ldpc.ranRepository=matchReg.group(1)
|
||||
# elif re.match('^\-\-eNB_AllowMerge=(.+)$|^\-\-ranAllowMerge=(.+)$', myArgv, re.IGNORECASE):
|
||||
# if re.match('^\-\-eNB_AllowMerge=(.+)$', myArgv, re.IGNORECASE):
|
||||
# matchReg = re.match('^\-\-eNB_AllowMerge=(.+)$', myArgv, re.IGNORECASE)
|
||||
# else:
|
||||
# matchReg = re.match('^\-\-ranAllowMerge=(.+)$', myArgv, re.IGNORECASE)
|
||||
# doMerge = matchReg.group(1)
|
||||
# ldpc.ranAllowMerge=matchReg.group(1)
|
||||
# if ((doMerge == 'true') or (doMerge == 'True')):
|
||||
# CiTestObj.ranAllowMerge = True
|
||||
# RAN.ranAllowMerge=True
|
||||
# HTML.ranAllowMerge=True
|
||||
# elif re.match('^\-\-eNBBranch=(.+)$|^\-\-ranBranch=(.+)$', myArgv, re.IGNORECASE):
|
||||
# if re.match('^\-\-eNBBranch=(.+)$', myArgv, re.IGNORECASE):
|
||||
# matchReg = re.match('^\-\-eNBBranch=(.+)$', myArgv, re.IGNORECASE)
|
||||
# else:
|
||||
# matchReg = re.match('^\-\-ranBranch=(.+)$', myArgv, re.IGNORECASE)
|
||||
# CiTestObj.ranBranch = matchReg.group(1)
|
||||
# RAN.ranBranch=matchReg.group(1)
|
||||
# HTML.ranBranch=matchReg.group(1)
|
||||
# ldpc.ranBranch=matchReg.group(1)
|
||||
# elif re.match('^\-\-eNBCommitID=(.*)$|^\-\-ranCommitID=(.*)$', myArgv, re.IGNORECASE):
|
||||
# if re.match('^\-\-eNBCommitID=(.*)$', myArgv, re.IGNORECASE):
|
||||
# matchReg = re.match('^\-\-eNBCommitID=(.*)$', myArgv, re.IGNORECASE)
|
||||
# else:
|
||||
# matchReg = re.match('^\-\-ranCommitID=(.*)$', myArgv, re.IGNORECASE)
|
||||
# CiTestObj.ranCommitID = matchReg.group(1)
|
||||
# RAN.ranCommitID=matchReg.group(1)
|
||||
# HTML.ranCommitID=matchReg.group(1)
|
||||
# ldpc.ranCommitID=matchReg.group(1)
|
||||
# elif re.match('^\-\-eNBTargetBranch=(.*)$|^\-\-ranTargetBranch=(.*)$', myArgv, re.IGNORECASE):
|
||||
# if re.match('^\-\-eNBTargetBranch=(.*)$', myArgv, re.IGNORECASE):
|
||||
# matchReg = re.match('^\-\-eNBTargetBranch=(.*)$', myArgv, re.IGNORECASE)
|
||||
# else:
|
||||
# matchReg = re.match('^\-\-ranTargetBranch=(.*)$', myArgv, re.IGNORECASE)
|
||||
# CiTestObj.ranTargetBranch = matchReg.group(1)
|
||||
# RAN.ranTargetBranch=matchReg.group(1)
|
||||
# HTML.ranTargetBranch=matchReg.group(1)
|
||||
# ldpc.ranTargetBranch=matchReg.group(1)
|
||||
# elif re.match('^\-\-eNBIPAddress=(.+)$|^\-\-eNB[1-2]IPAddress=(.+)$', myArgv, re.IGNORECASE):
|
||||
# if re.match('^\-\-eNBIPAddress=(.+)$', myArgv, re.IGNORECASE):
|
||||
# matchReg = re.match('^\-\-eNBIPAddress=(.+)$', myArgv, re.IGNORECASE)
|
||||
# RAN.eNBIPAddress=matchReg.group(1)
|
||||
# ldpc.eNBIpAddr=matchReg.group(1)
|
||||
# elif re.match('^\-\-eNB1IPAddress=(.+)$', myArgv, re.IGNORECASE):
|
||||
# matchReg = re.match('^\-\-eNB1IPAddress=(.+)$', myArgv, re.IGNORECASE)
|
||||
# RAN.eNB1IPAddress=matchReg.group(1)
|
||||
# elif re.match('^\-\-eNB2IPAddress=(.+)$', myArgv, re.IGNORECASE):
|
||||
# matchReg = re.match('^\-\-eNB2IPAddress=(.+)$', myArgv, re.IGNORECASE)
|
||||
# RAN.eNB2IPAddress=matchReg.group(1)
|
||||
# elif re.match('^\-\-eNBUserName=(.+)$|^\-\-eNB[1-2]UserName=(.+)$', myArgv, re.IGNORECASE):
|
||||
# if re.match('^\-\-eNBUserName=(.+)$', myArgv, re.IGNORECASE):
|
||||
# matchReg = re.match('^\-\-eNBUserName=(.+)$', myArgv, re.IGNORECASE)
|
||||
# RAN.eNBUserName=matchReg.group(1)
|
||||
# ldpc.eNBUserName=matchReg.group(1)
|
||||
# elif re.match('^\-\-eNB1UserName=(.+)$', myArgv, re.IGNORECASE):
|
||||
# matchReg = re.match('^\-\-eNB1UserName=(.+)$', myArgv, re.IGNORECASE)
|
||||
# RAN.eNB1UserName=matchReg.group(1)
|
||||
# elif re.match('^\-\-eNB2UserName=(.+)$', myArgv, re.IGNORECASE):
|
||||
# matchReg = re.match('^\-\-eNB2UserName=(.+)$', myArgv, re.IGNORECASE)
|
||||
# RAN.eNB2UserName=matchReg.group(1)
|
||||
# elif re.match('^\-\-eNBPassword=(.+)$|^\-\-eNB[1-2]Password=(.+)$', myArgv, re.IGNORECASE):
|
||||
# if re.match('^\-\-eNBPassword=(.+)$', myArgv, re.IGNORECASE):
|
||||
# matchReg = re.match('^\-\-eNBPassword=(.+)$', myArgv, re.IGNORECASE)
|
||||
# RAN.eNBPassword=matchReg.group(1)
|
||||
# ldpc.eNBPassWord=matchReg.group(1)
|
||||
# elif re.match('^\-\-eNB1Password=(.+)$', myArgv, re.IGNORECASE):
|
||||
# matchReg = re.match('^\-\-eNB1Password=(.+)$', myArgv, re.IGNORECASE)
|
||||
# RAN.eNB1Password=matchReg.group(1)
|
||||
# elif re.match('^\-\-eNB2Password=(.+)$', myArgv, re.IGNORECASE):
|
||||
# matchReg = re.match('^\-\-eNB2Password=(.+)$', myArgv, re.IGNORECASE)
|
||||
# RAN.eNB2Password=matchReg.group(1)
|
||||
# elif re.match('^\-\-eNBSourceCodePath=(.+)$|^\-\-eNB[1-2]SourceCodePath=(.+)$', myArgv, re.IGNORECASE):
|
||||
# if re.match('^\-\-eNBSourceCodePath=(.+)$', myArgv, re.IGNORECASE):
|
||||
# matchReg = re.match('^\-\-eNBSourceCodePath=(.+)$', myArgv, re.IGNORECASE)
|
||||
# RAN.eNBSourceCodePath=matchReg.group(1)
|
||||
# ldpc.eNBSourceCodePath=matchReg.group(1)
|
||||
# elif re.match('^\-\-eNB1SourceCodePath=(.+)$', myArgv, re.IGNORECASE):
|
||||
# matchReg = re.match('^\-\-eNB1SourceCodePath=(.+)$', myArgv, re.IGNORECASE)
|
||||
# RAN.eNB1SourceCodePath=matchReg.group(1)
|
||||
# elif re.match('^\-\-eNB2SourceCodePath=(.+)$', myArgv, re.IGNORECASE):
|
||||
# matchReg = re.match('^\-\-eNB2SourceCodePath=(.+)$', myArgv, re.IGNORECASE)
|
||||
# RAN.eNB2SourceCodePath=matchReg.group(1)
|
||||
# elif re.match('^\-\-EPCIPAddress=(.+)$', myArgv, re.IGNORECASE):
|
||||
# matchReg = re.match('^\-\-EPCIPAddress=(.+)$', myArgv, re.IGNORECASE)
|
||||
# EPC.IPAddress=matchReg.group(1)
|
||||
# elif re.match('^\-\-EPCUserName=(.+)$', myArgv, re.IGNORECASE):
|
||||
# matchReg = re.match('^\-\-EPCUserName=(.+)$', myArgv, re.IGNORECASE)
|
||||
# EPC.UserName=matchReg.group(1)
|
||||
# elif re.match('^\-\-EPCPassword=(.+)$', myArgv, re.IGNORECASE):
|
||||
# matchReg = re.match('^\-\-EPCPassword=(.+)$', myArgv, re.IGNORECASE)
|
||||
# EPC.Password=matchReg.group(1)
|
||||
# elif re.match('^\-\-EPCSourceCodePath=(.+)$', myArgv, re.IGNORECASE):
|
||||
# matchReg = re.match('^\-\-EPCSourceCodePath=(.+)$', myArgv, re.IGNORECASE)
|
||||
# EPC.SourceCodePath=matchReg.group(1)
|
||||
# elif re.match('^\-\-EPCType=(.+)$', myArgv, re.IGNORECASE):
|
||||
# matchReg = re.match('^\-\-EPCType=(.+)$', myArgv, re.IGNORECASE)
|
||||
# if re.match('OAI', matchReg.group(1), re.IGNORECASE) or re.match('ltebox', matchReg.group(1), re.IGNORECASE) or re.match('OAI-Rel14-CUPS', matchReg.group(1), re.IGNORECASE) or re.match('OAI-Rel14-Docker', matchReg.group(1), re.IGNORECASE):
|
||||
# EPC.Type=matchReg.group(1)
|
||||
# else:
|
||||
# sys.exit('Invalid EPC Type: ' + matchReg.group(1) + ' -- (should be OAI or ltebox or OAI-Rel14-CUPS or OAI-Rel14-Docker)')
|
||||
# elif re.match('^\-\-EPCContainerPrefix=(.+)$', myArgv, re.IGNORECASE):
|
||||
# matchReg = re.match('^\-\-EPCContainerPrefix=(.+)$', myArgv, re.IGNORECASE)
|
||||
# EPC.ContainerPrefix=matchReg.group(1)
|
||||
# elif re.match('^\-\-ADBIPAddress=(.+)$', myArgv, re.IGNORECASE):
|
||||
# matchReg = re.match('^\-\-ADBIPAddress=(.+)$', myArgv, re.IGNORECASE)
|
||||
# CiTestObj.ADBIPAddress = matchReg.group(1)
|
||||
# elif re.match('^\-\-ADBUserName=(.+)$', myArgv, re.IGNORECASE):
|
||||
# matchReg = re.match('^\-\-ADBUserName=(.+)$', myArgv, re.IGNORECASE)
|
||||
# CiTestObj.ADBUserName = matchReg.group(1)
|
||||
# elif re.match('^\-\-ADBType=(.+)$', myArgv, re.IGNORECASE):
|
||||
# matchReg = re.match('^\-\-ADBType=(.+)$', myArgv, re.IGNORECASE)
|
||||
# if re.match('centralized', matchReg.group(1), re.IGNORECASE) or re.match('distributed', matchReg.group(1), re.IGNORECASE):
|
||||
# if re.match('distributed', matchReg.group(1), re.IGNORECASE):
|
||||
# CiTestObj.ADBCentralized = False
|
||||
# else:
|
||||
# CiTestObj.ADBCentralized = True
|
||||
# else:
|
||||
# sys.exit('Invalid ADB Type: ' + matchReg.group(1) + ' -- (should be centralized or distributed)')
|
||||
# elif re.match('^\-\-ADBPassword=(.+)$', myArgv, re.IGNORECASE):
|
||||
# matchReg = re.match('^\-\-ADBPassword=(.+)$', myArgv, re.IGNORECASE)
|
||||
# CiTestObj.ADBPassword = matchReg.group(1)
|
||||
# elif re.match('^\-\-XMLTestFile=(.+)$', myArgv, re.IGNORECASE):
|
||||
# matchReg = re.match('^\-\-XMLTestFile=(.+)$', myArgv, re.IGNORECASE)
|
||||
# CiTestObj.testXMLfiles.append(matchReg.group(1))
|
||||
# HTML.testXMLfiles=matchReg.group(1)
|
||||
# HTML.nbTestXMLfiles=HTML.nbTestXMLfiles+1
|
||||
# elif re.match('^\-\-UEIPAddress=(.+)$', myArgv, re.IGNORECASE):
|
||||
# matchReg = re.match('^\-\-UEIPAddress=(.+)$', myArgv, re.IGNORECASE)
|
||||
# CiTestObj.UEIPAddress = matchReg.group(1)
|
||||
# elif re.match('^\-\-UEUserName=(.+)$', myArgv, re.IGNORECASE):
|
||||
# matchReg = re.match('^\-\-UEUserName=(.+)$', myArgv, re.IGNORECASE)
|
||||
# CiTestObj.UEUserName = matchReg.group(1)
|
||||
# elif re.match('^\-\-UEPassword=(.+)$', myArgv, re.IGNORECASE):
|
||||
# matchReg = re.match('^\-\-UEPassword=(.+)$', myArgv, re.IGNORECASE)
|
||||
# CiTestObj.UEPassword = matchReg.group(1)
|
||||
# elif re.match('^\-\-UESourceCodePath=(.+)$', myArgv, re.IGNORECASE):
|
||||
# matchReg = re.match('^\-\-UESourceCodePath=(.+)$', myArgv, re.IGNORECASE)
|
||||
# CiTestObj.UESourceCodePath = matchReg.group(1)
|
||||
# elif re.match('^\-\-finalStatus=(.+)$', myArgv, re.IGNORECASE):
|
||||
# matchReg = re.match('^\-\-finalStatus=(.+)$', myArgv, re.IGNORECASE)
|
||||
# finalStatus = matchReg.group(1)
|
||||
# if ((finalStatus == 'true') or (finalStatus == 'True')):
|
||||
# CiTestObj.finalStatus = True
|
||||
# else:
|
||||
# HELP.GenericHelp(CONST.Version)
|
||||
# sys.exit('Invalid Parameter: ' + myArgv)
|
||||
|
||||
|
||||
#-----------------------------------------------------------
|
||||
|
||||
@@ -93,143 +93,6 @@ class RANManagement():
|
||||
|
||||
|
||||
|
||||
#-----------------------------------------------------------
|
||||
# Setters and Getters on Public members
|
||||
#-----------------------------------------------------------
|
||||
|
||||
# def SetHtmlObj(self, obj):
|
||||
# self.htmlObj = obj
|
||||
# def SetEpcObj(self, obj):
|
||||
# self.epcObj = obj
|
||||
#
|
||||
# def SetflexranCtrlInstalled(self,fxrctin):
|
||||
# self.flexranCtrlInstalled = fxrctin
|
||||
# def GetflexranCtrlInstalled(self):
|
||||
# return self.flexranCtrlInstalled
|
||||
# def SetflexranCtrlStarted(self,fxrctst):
|
||||
# self.flexranCtrlStarted = fxrctst
|
||||
# def GetflexranCtrlStarted(self):
|
||||
# return self.flexranCtrlStarted
|
||||
# def SetpStatus(self, pSt):
|
||||
# self.pStatus = pSt
|
||||
# def SetranRepository(self, repository):
|
||||
# self.ranRepository = repository
|
||||
# def GetranRepository(self):
|
||||
# return self.ranRepository
|
||||
# def SetranBranch(self, branch):
|
||||
# self.ranBranch = branch
|
||||
# def GetranBranch(self):
|
||||
# return self.ranBranch
|
||||
# def SetranCommitID(self, commitid):
|
||||
# self.ranCommitID = commitid
|
||||
# def GetranCommitID(self):
|
||||
# return self.ranCommitID
|
||||
# def SeteNB_serverId(self, enbsrvid):
|
||||
# self.eNB_serverId = enbsrvid
|
||||
# def GeteNB_serverId(self):
|
||||
# return self.eNB_serverId
|
||||
# def SeteNBIPAddress(self, enbip):
|
||||
# self.eNBIPAddress = enbip
|
||||
# def GeteNBIPAddress(self):
|
||||
# return self.eNBIPAddress
|
||||
# def SeteNBUserName(self, enbusr):
|
||||
# self.eNBUserName = enbusr
|
||||
# def GeteNBUserName(self):
|
||||
# return self.eNBUserName
|
||||
# def SeteNBPassword(self, enbpw):
|
||||
# self.eNBPassword = enbpw
|
||||
# def GeteNBPassword(self):
|
||||
# return self.eNBPassword
|
||||
# def SeteNBSourceCodePath(self, enbcodepath):
|
||||
# self.eNBSourceCodePath = enbcodepath
|
||||
# def GeteNBSourceCodePath(self):
|
||||
# return self.eNBSourceCodePath
|
||||
# def SetranAllowMerge(self, merge):
|
||||
# self.ranAllowMerge = merge
|
||||
# def GetranAllowMerge(self):
|
||||
# return self.ranAllowMerge
|
||||
# def SetranTargetBranch(self, tbranch):
|
||||
# self.ranTargetBranch = tbranch
|
||||
# def GetranTargetBranch(self):
|
||||
# return self.ranTargetBranch
|
||||
# def SetBuild_eNB_args(self, enbbuildarg):
|
||||
# self.Build_eNB_args = enbbuildarg
|
||||
# def GetBuild_eNB_args(self):
|
||||
# return self.Build_eNB_args
|
||||
# def SetInitialize_eNB_args(self, initenbarg):
|
||||
# self.Initialize_eNB_args = initenbarg
|
||||
# def GetInitialize_eNB_args(self):
|
||||
# return self.Initialize_eNB_args
|
||||
# def SetbackgroundBuild(self, bkbuild):
|
||||
# self.backgroundBuild = bkbuild
|
||||
# def GetbackgroundBuild(self):
|
||||
# return self.backgroundBuild
|
||||
# def SetbackgroundBuildTestId(self, bkbuildid):
|
||||
# self.backgroundBuildTestId = bkbuildid
|
||||
# def GetbackgroundBuildTestId(self):
|
||||
# return self.backgroundBuildTestId
|
||||
# def SetBuild_eNB_forced_workspace_cleanup(self, fcdwspclean):
|
||||
# self.Build_eNB_forced_workspace_cleanup = fcdwspclean
|
||||
# def GetBuild_eNB_forced_workspace_cleanup(self):
|
||||
# return self.Build_eNB_forced_workspace_cleanup
|
||||
# def Setair_interface(self, airif):
|
||||
# self.air_interface = airif
|
||||
# def Getair_interface(self):
|
||||
# return self.air_interface
|
||||
# def SeteNB_instance(self, enbinst):
|
||||
# self.eNB_instance = enbinst
|
||||
# def GeteNB_instance(self):
|
||||
# return self.eNB_instance
|
||||
#
|
||||
# def SeteNBLogFile(self, enblog, idx):
|
||||
# self.eNBLogFiles[idx] = enblog
|
||||
# def GeteNBLogFile(self, idx):
|
||||
# return self.eNBLogFiles[idx]
|
||||
#
|
||||
# def GeteNBmbmsEnable(self, idx):
|
||||
# return self.eNBmbmsEnables[idx]
|
||||
#
|
||||
# def SeteNB1IPAddress(self,enb1ip):
|
||||
# self.eNB1IPAddress = enb1ip
|
||||
# def GeteNB1IPAddress(self):
|
||||
# return self.eNB1IPAddress
|
||||
# def SeteNB1UserName(self, enb1usr):
|
||||
# self.eNB1UserName = enb1usr
|
||||
# def GeteNB1UserName(self):
|
||||
# return self.eNB1UserName
|
||||
# def SeteNB1Password(self, enb1pw):
|
||||
# self.eNB1Password = enb1pw
|
||||
# def GeteNB1Password(self):
|
||||
# return self.eNB1Password
|
||||
# def SeteNB1SourceCodePath(self, enb1codepath):
|
||||
# self.eNB1SourceCodePath = enb1codepath
|
||||
# def GeteNB1SourceCodePath(self):
|
||||
# return self.eNB1SourceCodePath
|
||||
#
|
||||
# def SeteNB2IPAddress(self, enb2ip):
|
||||
# self.eNB2IPAddress = enb2ip
|
||||
# def GeteNB2IPAddress(self):
|
||||
# return self.eNB2IPAddress
|
||||
# def SeteNB2UserName(self, enb2usr):
|
||||
# self.eNB2UserName = enb2usr
|
||||
# def GeteNB2UserName(self):
|
||||
# return self.eNB2UserName
|
||||
# def SeteNB2Password(self, enb2pw):
|
||||
# self.eNB2Password = enb2pw
|
||||
# def GeteNB2Password(self):
|
||||
# return self.eNB2Password
|
||||
# def SeteNB2SourceCodePath(self, enb2codepath):
|
||||
# self.eNB2SourceCodePath = enb2codepath
|
||||
# def GeteNB2SourceCodePath(self):
|
||||
# return self.eNB2SourceCodePath
|
||||
#
|
||||
# def SetprematureExit(self, premex):
|
||||
# self.prematureExit = premex
|
||||
# def GetprematureExit(self):
|
||||
# return self.prematureExit
|
||||
|
||||
|
||||
|
||||
#-----------------------------------------------------------
|
||||
# RAN management functions
|
||||
#-----------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user