run the commands on the right hosts

This commit is contained in:
Quentin De Coninck 2019-11-28 11:39:45 +01:00
parent 2ab842d37b
commit 7cc7b08415

View File

@ -152,7 +152,7 @@ class MpExperience:
print("boxes " + str(lbox) + " " + str(rbox))
cmd = l.buildNetemCmd(lif)
print(cmd)
self.mpTopo.commandTo(lbox, cmd)
self.mpTopo.commandTo(rbox, cmd)
cmd = l.buildNetemCmd(rif)
print(cmd)
self.mpTopo.commandTo(rbox, cmd)
@ -160,7 +160,7 @@ class MpExperience:
irif = self.mpConfig.getMidR2LIncomingInterface(i)
cmd = l.buildPolicingCmd(ilif)
print(cmd)
self.mpTopo.commandTo(lbox, cmd)
self.mpTopo.commandTo(rbox, cmd)
cmd = l.buildPolicingCmd(irif)
print(cmd)
self.mpTopo.commandTo(rbox, cmd)