police and shape at different places
This commit is contained in:
parent
7cc7b08415
commit
66de7f1a64
@ -152,7 +152,7 @@ class MpExperience:
|
||||
print("boxes " + str(lbox) + " " + str(rbox))
|
||||
cmd = l.buildNetemCmd(lif)
|
||||
print(cmd)
|
||||
self.mpTopo.commandTo(rbox, cmd)
|
||||
self.mpTopo.commandTo(lbox, 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(rbox, cmd)
|
||||
self.mpTopo.commandTo(lbox, cmd)
|
||||
cmd = l.buildPolicingCmd(irif)
|
||||
print(cmd)
|
||||
self.mpTopo.commandTo(rbox, cmd)
|
||||
|
@ -130,13 +130,13 @@ class MpMultiInterfaceConfig(MpConfig):
|
||||
return self.getSwitchServerName(id)
|
||||
|
||||
def getMidL2RInterface(self, id):
|
||||
return self.getMidRightName(id) + "-eth2"
|
||||
return self.getMidLeftName(id) + "-eth2"
|
||||
|
||||
def getMidR2LInterface(self, id):
|
||||
return self.getMidRightName(id) + "-eth1"
|
||||
|
||||
def getMidL2RIncomingInterface(self, id):
|
||||
return self.getMidRightName(id) + "-eth1"
|
||||
return self.getMidLeftName(id) + "-eth1"
|
||||
|
||||
def getMidR2LIncomingInterface(self, id):
|
||||
return self.getMidRightName(id) + "-eth2"
|
||||
|
Loading…
Reference in New Issue
Block a user