From a1bddf0ab2cd7bee30b1f0dc1575c0b8c532e157 Mon Sep 17 00:00:00 2001 From: Sander Vrijders Date: Mon, 26 Mar 2018 16:25:14 +0200 Subject: rumba: Add Rumba documentation website This adds a documentation website for Rumba which is triggered automatically after changes to master. --- rumba/testbeds/local.py | 27 +++++++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) (limited to 'rumba/testbeds/local.py') diff --git a/rumba/testbeds/local.py b/rumba/testbeds/local.py index 7c1aab1..068ee03 100644 --- a/rumba/testbeds/local.py +++ b/rumba/testbeds/local.py @@ -31,17 +31,40 @@ from rumba.executors.local import LocalExecutor logger = log.get_logger(__name__) - -# Local testbed, useful for testing class Testbed(mod.Testbed): + """ + Local testbed, does not do anything. In the case of the Ouroboros + plugin this is useful since the Ouroboros plugin will simply create + processes locally. Also useful for debugging in the other plugins. + """ def __init__(self, exp_name, username, proj_name="ARCFIRE", password=""): + """ + Initializes the parent class. + + :param exp_name: The experiment name. + :param username: User of the experiment. + :param proj_name: Project name of the experiment. + :param password: Password of the user. + """ mod.Testbed.__init__(self, exp_name, username, password, proj_name) self.executor = LocalExecutor(self) def _swap_in(self, experiment): + """ + Does not actually swap the experiment in. + + :param experiment: The experiment object. + """ + mod.Testbed.swap_in(self, experiment) + logger.info("Experiment swapped in") def swap_out(self, experiment): + """ + Does not actually swap the experiment out. + + :param experiment: The experiment object. + """ logger.info("Experiment swapped out") -- cgit v1.2.3