From dfd400c2fb1383bcd6e3862d6199fffad4e78524 Mon Sep 17 00:00:00 2001 From: Nick Aerts Date: Fri, 23 Mar 2018 23:36:34 +0100 Subject: 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. --- rumba/testbeds/local.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'rumba/testbeds/local.py') 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): -- cgit v1.2.3