aboutsummaryrefslogtreecommitdiff
path: root/rumba/prototypes/rlite.py
diff options
context:
space:
mode:
authorSander Vrijders <sander.vrijders@ugent.be>2018-03-27 16:40:59 +0200
committerSander Vrijders <sander.vrijders@ugent.be>2018-03-28 16:41:40 +0200
commite694075c7fdcc9c4579d55b792da7a1391401b35 (patch)
treecc75c83e5ef17133c2f9e754be3eb0ebee4d6984 /rumba/prototypes/rlite.py
parenta1bddf0ab2cd7bee30b1f0dc1575c0b8c532e157 (diff)
downloadrumba-e694075c7fdcc9c4579d55b792da7a1391401b35.tar.gz
rumba-e694075c7fdcc9c4579d55b792da7a1391401b35.zip
testbeds, prototypes, model: Add docstrings
This adds docstrings for methods of in the testbeds, prototypes and certain things in the model.
Diffstat (limited to 'rumba/prototypes/rlite.py')
-rw-r--r--rumba/prototypes/rlite.py12
1 files changed, 11 insertions, 1 deletions
diff --git a/rumba/prototypes/rlite.py b/rumba/prototypes/rlite.py
index e1b3745..c056b2f 100644
--- a/rumba/prototypes/rlite.py
+++ b/rumba/prototypes/rlite.py
@@ -35,12 +35,22 @@ import time
logger = log.get_logger(__name__)
-# An experiment over the rlite implementation
class Experiment(mod.Experiment):
+ """
+ Represents an rlite experiment.
+ """
def __init__(self, testbed, nodes=None,
git_repo='https://github.com/vmaffione/rlite',
git_branch='master'):
+ """
+ Initializes the experiment class.
+
+ :param testbed: The testbed to run the experiment on.
+ :param nodes: The list of nodes.
+ :param git_repo: The git repository to use for installation.
+ :param git_branch: The branch of the git repository to use.
+ """
mod.Experiment.__init__(self, testbed, nodes, git_repo, git_branch,
prototype_logs=['/tmp/uipcp.log'])