aboutsummaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorKristian Hunt <kristian.hunt@gmail.com>2015-07-02 15:32:44 +0200
committerKristian Hunt <kristian.hunt@gmail.com>2015-07-03 14:21:41 +0200
commitbca83ab90d5f6ffb0afe5f2e756e3fd37f85c2a7 (patch)
tree87e44571b88d0af44ed76277bc8832762f200a9a /samples
parentda2d2731a79da35b07a4ef0d4b6f8a426f853b41 (diff)
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 <kristian.hunt@gmail.com>
Diffstat (limited to 'samples')
-rw-r--r--samples/ping-option-list.yaml44
1 files changed, 44 insertions, 0 deletions
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"
+
+