From d44e0a70f6531a7a26817509f874e9af4ad8ec90 Mon Sep 17 00:00:00 2001 From: Quentin De Coninck Date: Wed, 18 May 2016 08:59:25 +0200 Subject: [PATCH] mpExperience: with correct command --- src/mpExperience.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/mpExperience.py b/src/mpExperience.py index 977dc4d..f8a80ce 100644 --- a/src/mpExperience.py +++ b/src/mpExperience.py @@ -42,14 +42,14 @@ class MpExperience: prioPath1 = self.xpParam.getParam(MpParamXp.PRIOPATH1) if not prioPath0 == prioPath1: self.mpTopo.commandTo(self.mpConfig.client, "/home/mininet/iproute/ip/ip link set dev " + - self.mpConfig.getClientInterface(0) + "priority" + str(prioPath0)) + self.mpConfig.getClientInterface(0) + " priority " + str(prioPath0)) self.mpTopo.commandTo(self.mpConfig.router, "/home/mininet/iproute/ip/ip link set dev " + - self.mpConfig.getRouterInterfaceSwitch(0) + "priority" + + self.mpConfig.getRouterInterfaceSwitch(0) + " priority " + str(prioPath0)) self.mpTopo.commandTo(self.mpConfig.client, "/home/mininet/iproute/ip/ip link set dev " + - self.mpConfig.getClientInterface(1) + "priority" + str(prioPath1)) + self.mpConfig.getClientInterface(1) + " priority " + str(prioPath1)) self.mpTopo.commandTo(self.mpConfig.router, "/home/mininet/iproute/ip/ip link set dev " + - self.mpConfig.getRouterInterfaceSwitch(1) + "priority" + + self.mpConfig.getRouterInterfaceSwitch(1) + " priority " + str(prioPath1)) def runUserspacePM(self):