diff options
author | Marco Capitani <m.capitani@nextworks.it> | 2017-04-21 16:06:22 +0200 |
---|---|---|
committer | Marco Capitani <m.capitani@nextworks.it> | 2017-04-21 16:06:22 +0200 |
commit | 2da2f7f095dd985e6beb57be4b239f3b0eb87973 (patch) | |
tree | 49f1f8f0f5568dc17b28aac6d0f9299aba81139c /tools/democonf2rumba.py | |
parent | 26e3e22cd6ca6676b7b99624764f8e6f1ae1479d (diff) | |
parent | 92e114b4bd567593b43d6a065be52ca265bd13a4 (diff) | |
download | rumba-2da2f7f095dd985e6beb57be4b239f3b0eb87973.tar.gz rumba-2da2f7f095dd985e6beb57be4b239f3b0eb87973.zip |
Merge branch 'master' into logging (split merged)
Diffstat (limited to 'tools/democonf2rumba.py')
-rwxr-xr-x | tools/democonf2rumba.py | 7 |
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): |