aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/democonf2rumba.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/tools/democonf2rumba.py b/tools/democonf2rumba.py
index c708e8e..9d909c7 100755
--- a/tools/democonf2rumba.py
+++ b/tools/democonf2rumba.py
@@ -123,7 +123,12 @@ def make_experiment(filename, experiment_class, experiment_kwargs,
experiment_kwargs['testbed'] = testbed
experiment_kwargs['nodes'] = parsed_nodes
- return experiment_class(**experiment_kwargs).run()
+ exp = experiment_class(**experiment_kwargs)
+ try:
+ exp.swap_in()
+ exp.bootstrap_prototype()
+ finally:
+ exp.swap_out()
def setup_testbed_common_args(t_p):