From e6af5e64b850be64d5e1d1012e890ca9571b0df0 Mon Sep 17 00:00:00 2001 From: Marco Capitani Date: Wed, 21 Feb 2018 11:47:43 +0100 Subject: utils & storyboard: add syslog retrieval functionality Implements #39. Also updated examples. --- examples/converged-operator-network.py | 4 ++-- examples/scalingtime.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'examples') 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() -- cgit v1.2.3