aboutsummaryrefslogtreecommitdiffstats
path: root/samples/ping-parallel.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'samples/ping-parallel.yaml')
-rw-r--r--samples/ping-parallel.yaml51
1 files changed, 51 insertions, 0 deletions
diff --git a/samples/ping-parallel.yaml b/samples/ping-parallel.yaml
new file mode 100644
index 000000000..0e632aaaa
--- /dev/null
+++ b/samples/ping-parallel.yaml
@@ -0,0 +1,51 @@
+---
+# Sample benchmark task config file
+# Two scenarios run in parallel using different type of runners
+
+schema: "yardstick:task:0.1"
+run_in_parallel: true
+
+scenarios:
+-
+ type: Ping
+ options:
+ packetsize: 100
+ host: client.demo
+ target: server.demo
+ runner:
+ type: Duration
+ duration: 60
+ interval: 1
+ sla:
+ max_rtt: 15
+ action: monitor
+-
+ type: Ping
+ options:
+ packetsize: 200
+ client: client.demo
+ server: server.demo
+ runner:
+ type: Duration
+ duration: 60
+ interval: 1
+ sla:
+ max_rtt: 20
+ action: monitor
+
+context:
+ name: demo
+ image: cirros-0.3.3
+ flavor: m1.tiny
+ user: cirros
+
+ servers:
+ client:
+ floating_ip: true
+ server:
+
+ networks:
+ test:
+ cidr: '10.0.1.0/24'
+ external_network: "net04_ext"
+