aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorMarco Capitani <[email protected]>2017-05-11 10:51:26 +0200
committerMarco Capitani <[email protected]>2017-05-11 10:51:26 +0200
commitea1a4462a8b7a2fb7404e4652e0806795ba96863 (patch)
treec89faa5691dad770c20b07c08ad1ad6f589b73c0 /examples
parent43d3dbafc78172030dee2545b25d4fe5a05d1eba (diff)
downloadrumba-ea1a4462a8b7a2fb7404e4652e0806795ba96863.tar.gz
rumba-ea1a4462a8b7a2fb7404e4652e0806795ba96863.zip
Storyboard: added modifications to API to example.py
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/example.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/example.py b/examples/example.py
index 383dbf1..7fe130d 100755
--- a/examples/example.py
+++ b/examples/example.py
@@ -44,8 +44,8 @@ print(exp)
try:
exp.swap_in()
exp.bootstrap_prototype()
- c1 = Client("rinaperf", options = "-t perf -s 1000 -c 10000")
- s1 = Server("rinaperf", options = "-l", nodes = [a], clients = [c1])
+ c1 = ClientBinary("rinaperf", options = "-t perf -s 1000 -c 10000")
+ s1 = Server("rinaperf", arrival_rate=2, mean_duration=5, options = "-l", nodes = [a], clients = [c1])
sb = StoryBoard(exp, 3600, servers = [s1])
sb.start()
finally: