aboutsummaryrefslogtreecommitdiff
path: root/rumba/prototypes/irati.py
diff options
context:
space:
mode:
authorSander Vrijders <sander.vrijders@ugent.be>2018-03-14 18:07:32 +0100
committerSander Vrijders <sander.vrijders@ugent.be>2018-03-14 18:07:32 +0100
commit9e38155d654e012879a03e784f03a95de4aef64e (patch)
tree1276dc09a3cf2bc21cb5f15e4dd71e7729e9d4a5 /rumba/prototypes/irati.py
parent06d2451f950961072a1dbb92e69944334ec966b2 (diff)
downloadrumba-9e38155d654e012879a03e784f03a95de4aef64e.tar.gz
rumba-9e38155d654e012879a03e784f03a95de4aef64e.zip
prototypes: Add local Ouroboros support
This adds local Ouroboros support in case of a fake testbed (i.e. no resources allocated). A next PR will abstract away the mode of communication with the testbed, since the Docker plugin will also need it. This also adds another function to the model, terminate_prototype, which should clean up the prototype gracefully, or can be skipped depending on the testbed. Currently the ouroboros plugin with the fake testbed needs to be run as root. If there is a way to run the command as root in the background and then clean it up properly, I would be happy to know how.
Diffstat (limited to 'rumba/prototypes/irati.py')
-rw-r--r--rumba/prototypes/irati.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/rumba/prototypes/irati.py b/rumba/prototypes/irati.py
index bf3ce8c..0807e10 100644
--- a/rumba/prototypes/irati.py
+++ b/rumba/prototypes/irati.py
@@ -426,3 +426,6 @@ class Experiment(mod.Experiment):
conf_files.setdefault(node, []).append(
'normal.%s.%s.dif' % (node.name, dif.name))
return conf_files
+
+ def _terminate_prototype(self):
+ return