summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorHans Feldt <hans.feldt@ericsson.com>2015-05-26 21:25:37 +0200
committerHans Feldt <hans.feldt@ericsson.com>2015-05-28 12:50:36 +0000
commita6f7294eadf66e54a65edd629513b2841136e924 (patch)
treefb03137bec24b45490463c8e98013cc3cee0e840 /samples
parent035d9ed51b56d15bc777a8dcc269102664348ac8 (diff)
add iperf3 scenario and sample
Supports measuring network throughput using TCP and UDP. SLA can be verified for bytes per second compared against the summary from iperf3. Change-Id: Ia387aac64932b9c01a64acdcba152fc46b32e382 JIRA: YARDSTICK-20 Signed-off-by: Hans Feldt <hans.feldt@ericsson.com>
Diffstat (limited to 'samples')
-rw-r--r--samples/iperf3.yaml44
1 files changed, 44 insertions, 0 deletions
diff --git a/samples/iperf3.yaml b/samples/iperf3.yaml
new file mode 100644
index 000000000..643273c51
--- /dev/null
+++ b/samples/iperf3.yaml
@@ -0,0 +1,44 @@
+---
+# Sample benchmark task config file
+# measure network throughput using iperf3
+
+schema: "yardstick:task:0.1"
+
+scenarios:
+-
+ type: Iperf3
+ options:
+ host: client.demo
+ target: server.demo
+
+ runner:
+ type: Duration
+ duration: 60
+
+ sla:
+ bytes_per_second: 2900000000
+ action: monitor
+
+context:
+ name: demo
+ image: iperf3
+ flavor: m1.tiny
+ user: cirros
+
+ placement_groups:
+ pgrp1:
+ policy: "availability"
+
+ servers:
+ client:
+ floating_ip: true
+ placement: "pgrp1"
+ server:
+ floating_ip: true
+ placement: "pgrp1"
+
+ networks:
+ test:
+ cidr: '10.0.1.0/24'
+ external_network: "net04_ext"
+