aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/converged-operator-network.py4
-rwxr-xr-xexamples/scalingtime.py4
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()