def __str__(self): s = MpParam.__str__(self) s = s + "\n" for p in self.linkCharacteristics[:-1]: s = s + p.__str__() + "\n" s = s + self.linkCharacteristics[-1].__str__() return s
def getParam(self, key): val = MpParam.getParam(self, key) if val is None: if key in MpParamXp.defaultValue: return MpParamXp.defaultValue[key] else: raise Exception("Param not found " + key) else: return val
def __str__(self): s = MpParam.__str__(self) return s
def __init__(self, paramFile): MpParam.__init__(self, paramFile)
def __init__(self, paramFile): MpParam.__init__(self, paramFile) self.linkCharacteristics = [] self.loadLinkCharacteristics() self.loadNetemAt() print(self.__str__())