From 7cc7b0841544ab7041f10adb57e21d450fafc300 Mon Sep 17 00:00:00 2001 From: Quentin De Coninck Date: Thu, 28 Nov 2019 11:39:45 +0100 Subject: [PATCH] run the commands on the right hosts --- src/mpExperience.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mpExperience.py b/src/mpExperience.py index f59186f..bc4017d 100644 --- a/src/mpExperience.py +++ b/src/mpExperience.py @@ -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)