aboutsummaryrefslogtreecommitdiff
path: root/rumba/prototypes/irati.py
diff options
context:
space:
mode:
authorSander Vrijders <sander.vrijders@intec.ugent.be>2017-02-13 15:00:07 +0100
committerSander Vrijders <sander.vrijders@intec.ugent.be>2017-02-13 15:00:07 +0100
commit59ddcc618e901d14c47a8c1f97bb8589f6a4d5e0 (patch)
tree2f03681bc8a655c2a05f2ed1a52accc1b788d1d4 /rumba/prototypes/irati.py
parent78217ab203ca247ae8dea1cd673c3174953ef4ae (diff)
downloadrumba-59ddcc618e901d14c47a8c1f97bb8589f6a4d5e0.tar.gz
rumba-59ddcc618e901d14c47a8c1f97bb8589f6a4d5e0.zip
testbeds, prototypes: Omit dir name from class name
The directory name was always prepended to the class name, but since they are in distinct namespaces this could be easily removed.
Diffstat (limited to 'rumba/prototypes/irati.py')
-rw-r--r--rumba/prototypes/irati.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/rumba/prototypes/irati.py b/rumba/prototypes/irati.py
index af98f2e..28f8ab3 100644
--- a/rumba/prototypes/irati.py
+++ b/rumba/prototypes/irati.py
@@ -19,12 +19,12 @@
# MA 02110-1301 USA
import rumba.ssh_support as ssh
-from rumba.model import Experiment
+import rumba.model as mod
# An experiment over the IRATI implementation
-class IRATIExperiment(Experiment):
+class Experiment(mod.Experiment):
def __init__(self, testbed, nodes = list()):
- Experiment.__init__(self, testbed, nodes)
+ mod.Experiment.__init__(self, testbed, nodes)
def setup(self):
cmds = list()
@@ -38,7 +38,8 @@ class IRATIExperiment(Experiment):
cmds.append("sudo nohup ipcm &> ipcm.log &")
for node in self.nodes:
- ssh.execute_commands(self.testbed, node.full_name, cmds, time_out = None)
+ ssh.execute_commands(self.testbed, node.full_name,
+ cmds, time_out = None)
def run(self):
print("[IRATI experiment] start")