aboutsummaryrefslogtreecommitdiff
path: root/rumba/testbeds/local.py
diff options
context:
space:
mode:
authorNick Aerts <aerts.nick@gmail.com>2018-03-23 23:36:34 +0100
committerNick Aerts <nick.aerts@ugent.be>2018-03-27 18:16:45 +0200
commitdfd400c2fb1383bcd6e3862d6199fffad4e78524 (patch)
tree22628b20331328e4d57657494d0321d07f89badb /rumba/testbeds/local.py
parenteef25fb48735a5db9613bf00b47f6cf4703b815d (diff)
downloadrumba-dfd400c2fb1383bcd6e3862d6199fffad4e78524.tar.gz
rumba-dfd400c2fb1383bcd6e3862d6199fffad4e78524.zip
linkquality: added link_quality to add delay, loss and rate limit to link
This adds the ability to assign delay and loss to links. 4 new object types are introduced: - LinkQuality - Delay - Loss - Rate All attributes are read-only, one attribute link_quality is added to the ShimEthDIF with a callback to the LinkQualityManager which will automatically apply a new link_quality profile when this attribute is written.
Diffstat (limited to 'rumba/testbeds/local.py')
-rw-r--r--rumba/testbeds/local.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/rumba/testbeds/local.py b/rumba/testbeds/local.py
index 77aed82..7c1aab1 100644
--- a/rumba/testbeds/local.py
+++ b/rumba/testbeds/local.py
@@ -40,9 +40,7 @@ class Testbed(mod.Testbed):
self.executor = LocalExecutor(self)
- def swap_in(self, experiment):
- mod.Testbed.swap_in(self, experiment)
-
+ def _swap_in(self, experiment):
logger.info("Experiment swapped in")
def swap_out(self, experiment):