aboutsummaryrefslogtreecommitdiff
path: root/rumba/prototypes/rlite.py
diff options
context:
space:
mode:
Diffstat (limited to 'rumba/prototypes/rlite.py')
-rw-r--r--rumba/prototypes/rlite.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/rumba/prototypes/rlite.py b/rumba/prototypes/rlite.py
index 32b7df7..1595336 100644
--- a/rumba/prototypes/rlite.py
+++ b/rumba/prototypes/rlite.py
@@ -42,7 +42,7 @@ class Experiment(mod.Experiment):
def __init__(self, testbed, nodes=None,
git_repo='https://github.com/vmaffione/rlite',
- git_branch='master'):
+ git_branch='master', enrollment_strategy='minimal'):
"""
Initializes the experiment class.
@@ -50,9 +50,11 @@ class Experiment(mod.Experiment):
: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.
+ :param enrollment_strategy: Can be 'full-mesh', 'minimal' or 'manual'.
"""
mod.Experiment.__init__(self, testbed, nodes, git_repo, git_branch,
- prototype_logs=['/tmp/uipcp.log'])
+ prototype_logs=['/tmp/uipcp.log'],
+ enrollment_strategy=enrollment_strategy)
@staticmethod
def make_executor(node, packages, testbed):