diff options
author | Marco Capitani <m.capitani@nextworks.it> | 2018-02-21 11:47:43 +0100 |
---|---|---|
committer | Marco Capitani <m.capitani@nextworks.it> | 2018-02-27 16:51:26 +0100 |
commit | e6af5e64b850be64d5e1d1012e890ca9571b0df0 (patch) | |
tree | 60ef94a76aea5bd4fec5843a573cc040aa2211d1 /examples | |
parent | 0158b68b1736ca8a5fb68de5a56cae234030774c (diff) | |
download | rumba-e6af5e64b850be64d5e1d1012e890ca9571b0df0.tar.gz rumba-e6af5e64b850be64d5e1d1012e890ca9571b0df0.zip |
utils & storyboard: add syslog retrieval functionality
Implements #39.
Also updated examples.
Diffstat (limited to 'examples')
-rwxr-xr-x | examples/converged-operator-network.py | 4 | ||||
-rwxr-xr-x | examples/scalingtime.py | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/examples/converged-operator-network.py b/examples/converged-operator-network.py index 6242e31..3b80746 100755 --- a/examples/converged-operator-network.py +++ b/examples/converged-operator-network.py @@ -5,7 +5,7 @@ from rumba.model import * from rumba.storyboard import * -from rumba.utils import ExperimentManager +from rumba.utils import * # import testbed plugins import rumba.testbeds.emulab as emulab @@ -186,7 +186,7 @@ exp = rl.Experiment(tb, nodes = [f1n1, f1n2, f1n3, f1n4, print(exp) -with ExperimentManager(exp, do_swap_out=ExperimentManager.PROMPT): +with ExperimentManager(exp, swap_out_strategy=PAUSE_SWAPOUT): exp.swap_in() exp.install_prototype() exp.bootstrap_prototype() diff --git a/examples/scalingtime.py b/examples/scalingtime.py index 4a35d67..f0c9285 100755 --- a/examples/scalingtime.py +++ b/examples/scalingtime.py @@ -1,7 +1,7 @@ #!/usr/bin/env python from rumba.model import * -from rumba.utils import ExperimentManager +from rumba.utils import * # import testbed plugins import rumba.testbeds.emulab as emulab @@ -127,7 +127,7 @@ tb = jfed.Testbed(exp_name = "metro2", exp = our.Experiment(tb, nodes = nodes) -with ExperimentManager(exp, do_swap_out = ExperimentManager.PROMPT): +with ExperimentManager(exp, swap_out_strategy=PAUSE_SWAPOUT): exp.swap_in() exp.install_prototype() exp.bootstrap_prototype() |