From a6f7294eadf66e54a65edd629513b2841136e924 Mon Sep 17 00:00:00 2001 From: Hans Feldt Date: Tue, 26 May 2015 21:25:37 +0200 Subject: 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 --- samples/iperf3.yaml | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 samples/iperf3.yaml (limited to 'samples/iperf3.yaml') 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" + -- cgit 1.2.3-korg