diff options
author | Nick Aerts <aerts.nick@gmail.com> | 2018-03-23 23:36:34 +0100 |
---|---|---|
committer | Nick Aerts <nick.aerts@ugent.be> | 2018-03-27 18:16:45 +0200 |
commit | dfd400c2fb1383bcd6e3862d6199fffad4e78524 (patch) | |
tree | 22628b20331328e4d57657494d0321d07f89badb /rumba/testbeds/emulab.py | |
parent | eef25fb48735a5db9613bf00b47f6cf4703b815d (diff) | |
download | rumba-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/emulab.py')
-rw-r--r-- | rumba/testbeds/emulab.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/rumba/testbeds/emulab.py b/rumba/testbeds/emulab.py index 06e0e5c..0d18892 100644 --- a/rumba/testbeds/emulab.py +++ b/rumba/testbeds/emulab.py @@ -271,16 +271,13 @@ class Testbed(mod.Testbed): if self.ip[ipcp] == item[1]: ipcp.ifname = item[0] - def swap_in(self, experiment): - mod.Testbed.swap_in(self, experiment) - + def _swap_in(self, experiment): self._create_experiment(experiment) wait = self.swap_exp_in() if wait: self.wait_until_nodes_up() self.complete_experiment_graph(experiment) - def swap_out(self, experiment): """ Swaps experiment out |