run the commands on the right hosts
This commit is contained in:
parent
2ab842d37b
commit
7cc7b08415
@ -152,7 +152,7 @@ class MpExperience:
|
|||||||
print("boxes " + str(lbox) + " " + str(rbox))
|
print("boxes " + str(lbox) + " " + str(rbox))
|
||||||
cmd = l.buildNetemCmd(lif)
|
cmd = l.buildNetemCmd(lif)
|
||||||
print(cmd)
|
print(cmd)
|
||||||
self.mpTopo.commandTo(lbox, cmd)
|
self.mpTopo.commandTo(rbox, cmd)
|
||||||
cmd = l.buildNetemCmd(rif)
|
cmd = l.buildNetemCmd(rif)
|
||||||
print(cmd)
|
print(cmd)
|
||||||
self.mpTopo.commandTo(rbox, cmd)
|
self.mpTopo.commandTo(rbox, cmd)
|
||||||
@ -160,7 +160,7 @@ class MpExperience:
|
|||||||
irif = self.mpConfig.getMidR2LIncomingInterface(i)
|
irif = self.mpConfig.getMidR2LIncomingInterface(i)
|
||||||
cmd = l.buildPolicingCmd(ilif)
|
cmd = l.buildPolicingCmd(ilif)
|
||||||
print(cmd)
|
print(cmd)
|
||||||
self.mpTopo.commandTo(lbox, cmd)
|
self.mpTopo.commandTo(rbox, cmd)
|
||||||
cmd = l.buildPolicingCmd(irif)
|
cmd = l.buildPolicingCmd(irif)
|
||||||
print(cmd)
|
print(cmd)
|
||||||
self.mpTopo.commandTo(rbox, cmd)
|
self.mpTopo.commandTo(rbox, cmd)
|
||||||
|
Loading…
Reference in New Issue
Block a user