aboutsummaryrefslogtreecommitdiff
path: root/rumba/prototypes/rlite.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/rlite.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/rlite.py')
-rw-r--r--rumba/prototypes/rlite.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/rumba/prototypes/rlite.py b/rumba/prototypes/rlite.py
index dca693b..e1b3745 100644
--- a/rumba/prototypes/rlite.py
+++ b/rumba/prototypes/rlite.py
@@ -176,3 +176,6 @@ class Experiment(mod.Experiment):
logger.info("IPCPs registered to their lower DIFs on all nodes")
self.enroll_ipcps()
logger.info("enrollment completed in all DIFs")
+
+ def _terminate_prototype(self):
+ return