aboutsummaryrefslogtreecommitdiff
path: root/rumba/prototypes/irati.py
diff options
context:
space:
mode:
authorVincenzo Maffione <v.maffione@gmail.com>2018-05-08 11:03:05 +0200
committerVincenzo Maffione <v.maffione@gmail.com>2018-05-08 11:04:09 +0200
commit2e8cd8b8754384bef611efaadb18e1a977c5b30e (patch)
tree897ca8e5540b4eea18ab197b24281bb3db6a68de /rumba/prototypes/irati.py
parentf6bf94ed0502a5812aaf72cfe8af0ef3471dadc7 (diff)
downloadrumba-2e8cd8b8754384bef611efaadb18e1a977c5b30e.tar.gz
rumba-2e8cd8b8754384bef611efaadb18e1a977c5b30e.zip
elements: Experiment: add missing enrollment_strategy argument
This is necessary to enable scripts to use full-mesh or manual enrollment strategies. Fixes #54.
Diffstat (limited to 'rumba/prototypes/irati.py')
-rw-r--r--rumba/prototypes/irati.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/rumba/prototypes/irati.py b/rumba/prototypes/irati.py
index 1967278..ec3e53d 100644
--- a/rumba/prototypes/irati.py
+++ b/rumba/prototypes/irati.py
@@ -67,7 +67,8 @@ class Experiment(mod.Experiment):
git_branch='arcfire',
installpath=None,
varpath=None,
- app_mappings=None):
+ app_mappings=None,
+ enrollment_strategy='minimal'):
"""
Initializes the experiment class.
@@ -81,13 +82,15 @@ class Experiment(mod.Experiment):
all application which will register to
any given dif.
:type app_mappings: `List[(str, str)]`
+ :param enrollment_strategy: Can be 'full-mesh', 'minimal' or 'manual'.
"""
mod.Experiment.__init__(self,
testbed,
nodes,
git_repo,
git_branch,
- prototype_logs=['/tmp/ipcmstart.log'])
+ prototype_logs=['/tmp/ipcmstart.log'],
+ enrollment_strategy=enrollment_strategy)
if installpath is None:
installpath = '/usr'
if varpath is None: