def prepare(self): MpExperience.prepare(self) self.mpTopo.commandTo(self.mpConfig.client, "rm " + \ MpExperienceHTTPS.CLIENT_LOG ) self.mpTopo.commandTo(self.mpConfig.server, "rm " + \ MpExperienceHTTPS.SERVER_LOG ) if self.file == "random": self.mpTopo.commandTo(self.mpConfig.client, "dd if=/dev/urandom of=random bs=1K count=" + \ self.random_size)
def prepare(self): MpExperience.prepare(self) self.mpTopo.commandTo(self.mpConfig.client, "rm " + \ MpExperienceQUIC.CLIENT_LOG) self.mpTopo.commandTo(self.mpConfig.server, "rm " + \ MpExperienceQUIC.SERVER_LOG) if self.file == "random": self.mpTopo.commandTo(self.mpConfig.client, "dd if=/dev/urandom of=random1 bs=1K count=" + \ self.random_size) if self.single_file == "0": self.mpTopo.commandTo(self.mpConfig.client, "dd if=/dev/urandom of=random2 bs=1K count=" + \ self.random_size2) if self.multifile == "1": self.mpTopo.commandTo(self.mpConfig.client, "dd if=/dev/urandom of=random3 bs=1K count=" + \ self.random_size3) self.mpTopo.commandTo(self.mpConfig.client, "dd if=/dev/urandom of=random4 bs=1K count=" + \ self.random_size4) self.mpTopo.commandTo(self.mpConfig.client, "dd if=/dev/urandom of=random5 bs=1K count=" + \ self.random_size5)
def prepare(self): MpExperience.prepare(self)
def __init__(self, xpParamFile, mpTopo, mpConfig): MpExperience.__init__(self, xpParamFile, mpTopo, mpConfig) MpExperience.classicRun(self)
def clean(self): MpExperience.clean(self)
def clean(self): MpExperience.clean(self) if self.file == "random": self.mpTopo.commandTo(self.mpConfig.client, "rm random*")
def __init__(self, xpParamFile, mpTopo, mpConfig): MpExperience.__init__(self, xpParamFile, mpTopo, mpConfig) self.loadParam() self.ping() MpExperience.classicRun(self)
def prepare(self): MpExperience.prepare(self) self.mpTopo.commandTo(self.mpConfig.client, "rm " + \ MpExperienceQUICReqres.CLIENT_LOG ) self.mpTopo.commandTo(self.mpConfig.server, "rm " + \ MpExperienceQUICReqres.SERVER_LOG )