diff options
author | Marco Capitani <[email protected]> | 2018-04-05 11:55:42 +0200 |
---|---|---|
committer | Marco Capitani <[email protected]> | 2018-04-05 12:18:31 +0200 |
commit | 441c9fcba86070840dcff757986a5d4e20ccbcaa (patch) | |
tree | bde6384b03108db5049e89bfd0d930597c23e4d7 /examples | |
parent | 9e6dd5a114bd51c9f8a72e398adb1ea2e43b984c (diff) | |
download | rumba-441c9fcba86070840dcff757986a5d4e20ccbcaa.tar.gz rumba-441c9fcba86070840dcff757986a5d4e20ccbcaa.zip |
examples: fix several small issues (import log and sb.generate)
Diffstat (limited to 'examples')
-rwxr-xr-x | examples/converged-operator-network.py | 1 | ||||
-rwxr-xr-x | examples/example.py | 1 | ||||
-rwxr-xr-x | examples/mouse.py | 2 |
3 files changed, 4 insertions, 0 deletions
diff --git a/examples/converged-operator-network.py b/examples/converged-operator-network.py index 8ed79ed..ee54510 100755 --- a/examples/converged-operator-network.py +++ b/examples/converged-operator-network.py @@ -195,4 +195,5 @@ with ExperimentManager(exp, swap_out_strategy=PAUSE_SWAPOUT): s1 = Server("rinaperf", arrival_rate=2, mean_duration=5, options = "-l -d overlay", nodes = [c1n1], clients = [c1]) sb = StoryBoard(experiment=exp, duration=3600, servers = [s1]) + sb.generate_script() sb.start() diff --git a/examples/example.py b/examples/example.py index 62d5a53..2887cd5 100755 --- a/examples/example.py +++ b/examples/example.py @@ -77,6 +77,7 @@ with ExperimentManager(exp): exp.swap_in() exp.install_prototype() exp.bootstrap_prototype() + storyboard.generate_script() storyboard.start() # Fetch the client/server logs from the nodes diff --git a/examples/mouse.py b/examples/mouse.py index 16fdf49..d80da28 100755 --- a/examples/mouse.py +++ b/examples/mouse.py @@ -16,6 +16,8 @@ import rumba.prototypes.ouroboros as our import rumba.prototypes.rlite as rl import rumba.prototypes.irati as irati +import rumba.log as log + log.set_logging_level('DEBUG') |