From b6c094f98edda683aec70be5d897f250f4a10555 Mon Sep 17 00:00:00 2001 From: Hans Feldt Date: Wed, 13 May 2015 14:24:49 +0200 Subject: add sample benchmark configuration files Change-Id: I21a9e2db57d12e16bc0358bfa6c34c4d1d6a4de0 JIRA: - Signed-off-by: Hans Feldt --- samples/ping.yaml | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 samples/ping.yaml (limited to 'samples/ping.yaml') diff --git a/samples/ping.yaml b/samples/ping.yaml new file mode 100644 index 000000000..9a06fc48f --- /dev/null +++ b/samples/ping.yaml @@ -0,0 +1,46 @@ +--- +# Sample benchmark task config file +# measure network latency using ping + +schema: "yardstick:task:0.1" + +scenarios: +- + type: Ping + options: + packetsize: 200 + host: client.demo + target: server.demo + + runner: + type: Duration + duration: 60 + interval: 1 + + sla: + max_rtt: 10 + action: monitor + +context: + name: demo + image: cirros-0.3.3 + flavor: m1.tiny + user: cirros + anti_affinity: true + + placement_groups: + pgrp1: + policy: "availability" + + servers: + client: + floating_ip: true + placement: "pgrp1" + server: + placement: "pgrp1" + + networks: + test: + cidr: '10.0.1.0/24' + external_network: "net04_ext" + -- cgit 1.2.3-korg