mpExperience: with correct command
This commit is contained in:
parent
81c5b2d919
commit
d44e0a70f6
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user