From 2b9820b8498bf762f3458d5d78715e8949c94aa3 Mon Sep 17 00:00:00 2001 From: Quentin De Coninck Date: Fri, 16 Sep 2016 12:38:42 +0200 Subject: [PATCH] Revert "mpExperience: added openBup xp param" /sys/module/*/parameters/* must be done in minitopo-experiences, otherwise nothing happens... This reverts commit c3d1f41615e4a79f49f72550319520c2c1866a74. --- src/mpExperience.py | 6 ------ src/mpParamXp.py | 2 -- 2 files changed, 8 deletions(-) diff --git a/src/mpExperience.py b/src/mpExperience.py index 48bccb7..bbcfd0b 100644 --- a/src/mpExperience.py +++ b/src/mpExperience.py @@ -33,7 +33,6 @@ class MpExperience: self.runUserspacePM() self.mpConfig.configureNetwork() self.changeMetric() - self.changeOpenBup() self.putPriorityOnPaths() self.runTcpDump() self.runNetemAt() @@ -44,11 +43,6 @@ class MpExperience: if int(metric) >= 0: self.mpTopo.notNSCommand("echo " + metric + " > /sys/module/mptcp_sched_metric/parameters/metric") - def changeOpenBup(self): - openBup = self.xpParam.getParam(MpParamXp.OPENBUP) - if int(openBup) >= 0: - self.mpTopo.notNSCommand("echo" + openBup + " > /sys/module/mptcp_fullmesh/parameters/open_bup") - def putPriorityOnPaths(self): # Only meaningful if mpTopo is instance of MpMultiInterfaceTopo if isinstance(self.mpTopo, MpMultiInterfaceTopo): diff --git a/src/mpParamXp.py b/src/mpParamXp.py index f82efb5..3b57039 100644 --- a/src/mpParamXp.py +++ b/src/mpParamXp.py @@ -63,7 +63,6 @@ class MpParamXp(MpParam): EXPIRATION = "expiration" BUFFERAUTOTUNING = "bufferAutotuning" METRIC = "metric" - OPENBUP = "openBup" # global sysctl @@ -102,7 +101,6 @@ class MpParamXp(MpParam): defaultValue[EXPIRATION] = "300" defaultValue[BUFFERAUTOTUNING] = "1" defaultValue[METRIC] = "-1" - defaultValue[OPENBUP] = "-1" defaultValue[CLIENTPCAP] = "no" defaultValue[SERVERPCAP] = "no"