From bca83ab90d5f6ffb0afe5f2e756e3fd37f85c2a7 Mon Sep 17 00:00:00 2001 From: Kristian Hunt Date: Thu, 2 Jul 2015 15:32:44 +0200 Subject: Add new sequence runner The "sequence" runner will use an input value of the test for every run from a pre-defined list from the task file. Example runner section of the task file: type: Sequence interval: 1 scenario_option_name: packetsize sequence: - 100 - 150 - 200 JIRA: YARDSTICK-47 Change-Id: I5bde9b78cb356499c338ef3da26ac1783670887d Signed-off-by: Kristian Hunt --- samples/ping-option-list.yaml | 44 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 samples/ping-option-list.yaml (limited to 'samples') diff --git a/samples/ping-option-list.yaml b/samples/ping-option-list.yaml new file mode 100644 index 000000000..1fa95e6c2 --- /dev/null +++ b/samples/ping-option-list.yaml @@ -0,0 +1,44 @@ +--- +# Sample benchmark task config file +# A list of input values for a chosen parameter using Sequence runner + +schema: "yardstick:task:0.1" + +scenarios: +- + type: Ping + host: athena.demo + target: hades.demo + + runner: + type: Sequence + interval: 1 + scenario_option_name: packetsize + sequence: + - 100 + - 200 + - 250 + +context: + name: demo + image: cirros-0.3.3 + flavor: m1.tiny + user: cirros + + placement_groups: + pgrp1: + policy: "availability" + + servers: + athena: + floating_ip: true + placement: "pgrp1" + hades: + placement: "pgrp1" + + networks: + test: + cidr: '10.0.1.0/24' + external_network: "net04_ext" + + -- cgit 1.2.3-korg