aboutsummaryrefslogtreecommitdiff
path: root/examples/two-layers.py
diff options
context:
space:
mode:
authorMarco Capitani <m.capitani@nextworks.it>2018-01-10 12:41:25 +0100
committerMarco Capitani <m.capitani@nextworks.it>2018-01-11 16:47:32 +0100
commit658a41da85783d0ea06b91e5c72f755144b2e449 (patch)
treeaeee1f589d6f3e7999b5c3c9d2f990ef802cc905 /examples/two-layers.py
parentbb466208e238be10a0ca42e2db3f9edbb04e7bb8 (diff)
downloadrumba-658a41da85783d0ea06b91e5c72f755144b2e449.tar.gz
rumba-658a41da85783d0ea06b91e5c72f755144b2e449.zip
storyboard: re-add run_command method
Also: logging fix in ssh_support, Enabling changes: storyboard: refactor 'start' method, it was getting big some more minor storyboard refactoring for decoupling update examples to new syntax
Diffstat (limited to 'examples/two-layers.py')
-rwxr-xr-xexamples/two-layers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/two-layers.py b/examples/two-layers.py
index d2e4007..c375088 100755
--- a/examples/two-layers.py
+++ b/examples/two-layers.py
@@ -58,7 +58,7 @@ print(exp)
with ExperimentManager(exp):
exp.swap_in()
exp.bootstrap_prototype()
- sb = StoryBoard(exp, duration=15, servers=[])
+ sb = StoryBoard(experiment=exp, duration=15, servers=[])
sb.run_command(7.5, a, 'echo "7.5 secs in. We are at $(hostname)"')
sb.run_command(12, b, 'echo "12 secs in. We are at $(hostname)"')
sb.start()