From fe68f5ab8250d89ede7e9e6735d0c2359b22deab Mon Sep 17 00:00:00 2001 From: Benjamin Hesmans Date: Fri, 27 Feb 2015 11:24:48 +0100 Subject: [PATCH] fix issues with NC Signed-off-by: Benjamin Hesmans --- src/mpExperienceNC.py | 6 +++--- src/mpParamXp.py | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/mpExperienceNC.py b/src/mpExperienceNC.py index 1f3bd59..9972490 100644 --- a/src/mpExperienceNC.py +++ b/src/mpExperienceNC.py @@ -34,9 +34,9 @@ class MpExperienceNC(MpExperience): def prepare(self): MpExperience.prepare(self) self.mpTopo.commandTo(self.mpConfig.client, "rm " + \ - MpExperienceNCPV.CLIENT_NC_LOG ) + MpExperienceNC.CLIENT_NC_LOG ) self.mpTopo.commandTo(self.mpConfig.server, "rm " + \ - MpExperienceNCPV.SERVER_NC_LOG ) + MpExperienceNC.SERVER_NC_LOG ) def getNCServerCmd(self, id): s = "dd if=/dev/urandom ibs=" + self.ddibs + \ @@ -51,7 +51,7 @@ class MpExperienceNC(MpExperience): return s def getNCClientCmd(self, id): - s = MpExperienceNCPV.NC_BIN + " " + \ + s = MpExperienceNC.NC_BIN + " " + \ " -p " + self.ncClientPort[id] + " " + \ self.mpConfig.getServerIP() + " " + \ self.ncServerPort + " " + \ diff --git a/src/mpParamXp.py b/src/mpParamXp.py index 19cf5a9..86de402 100644 --- a/src/mpParamXp.py +++ b/src/mpParamXp.py @@ -42,6 +42,7 @@ class MpParamXp(MpParam): defaultValue[RMEM] = "10240 87380 16777216" defaultValue[KERNELPM] = "fullmesh" defaultValue[KERNELPMC] = "fullmesh" + defaultValue[KERNELPMS] = "fullmesh" defaultValue[USERPMC] = "fullmesh" defaultValue[USERPMS] = "fullmesh" defaultValue[USERPMCARGS] = ""