From 04fe4f93967b39e82adf1dc1b3eed85fd164b8e0 Mon Sep 17 00:00:00 2001 From: Quentin De Coninck Date: Fri, 13 May 2016 15:36:25 +0200 Subject: [PATCH] mpExperience: modified ip in its box --- src/mpExperience.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/mpExperience.py b/src/mpExperience.py index c8b7b07..977dc4d 100644 --- a/src/mpExperience.py +++ b/src/mpExperience.py @@ -41,14 +41,14 @@ class MpExperience: prioPath0 = self.xpParam.getParam(MpParamXp.PRIOPATH0) prioPath1 = self.xpParam.getParam(MpParamXp.PRIOPATH1) if not prioPath0 == prioPath1: - self.mpTopo.commandTo(self.mpConfig.client, "ip link set dev " + + self.mpTopo.commandTo(self.mpConfig.client, "/home/mininet/iproute/ip/ip link set dev " + self.mpConfig.getClientInterface(0) + "priority" + str(prioPath0)) - self.mpTopo.commandTo(self.mpConfig.router, "ip link set dev " + + self.mpTopo.commandTo(self.mpConfig.router, "/home/mininet/iproute/ip/ip link set dev " + self.mpConfig.getRouterInterfaceSwitch(0) + "priority" + str(prioPath0)) - self.mpTopo.commandTo(self.mpConfig.client, "ip link set dev " + + self.mpTopo.commandTo(self.mpConfig.client, "/home/mininet/iproute/ip/ip link set dev " + self.mpConfig.getClientInterface(1) + "priority" + str(prioPath1)) - self.mpTopo.commandTo(self.mpConfig.router, "ip link set dev " + + self.mpTopo.commandTo(self.mpConfig.router, "/home/mininet/iproute/ip/ip link set dev " + self.mpConfig.getRouterInterfaceSwitch(1) + "priority" + str(prioPath1))