diff options
author | Sander Vrijders <sander.vrijders@ugent.be> | 2018-03-26 16:25:14 +0200 |
---|---|---|
committer | Sander Vrijders <sander.vrijders@ugent.be> | 2018-03-28 16:41:40 +0200 |
commit | a1bddf0ab2cd7bee30b1f0dc1575c0b8c532e157 (patch) | |
tree | 65172a461889ca93053187494a565423a54f112e /rumba/testbeds/local.py | |
parent | a95c3b376053ed00f0e7184dbd228598a9aaf50f (diff) | |
download | rumba-a1bddf0ab2cd7bee30b1f0dc1575c0b8c532e157.tar.gz rumba-a1bddf0ab2cd7bee30b1f0dc1575c0b8c532e157.zip |
rumba: Add Rumba documentation website
This adds a documentation website for Rumba which is triggered
automatically after changes to master.
Diffstat (limited to 'rumba/testbeds/local.py')
-rw-r--r-- | rumba/testbeds/local.py | 27 |
1 files changed, 25 insertions, 2 deletions
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") |