From 441c9fcba86070840dcff757986a5d4e20ccbcaa Mon Sep 17 00:00:00 2001 From: Marco Capitani Date: Thu, 5 Apr 2018 11:55:42 +0200 Subject: examples: fix several small issues (import log and sb.generate) --- examples/converged-operator-network.py | 1 + examples/example.py | 1 + examples/mouse.py | 2 ++ 3 files changed, 4 insertions(+) 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') -- cgit v1.2.3