This patch is used to add grafana config to opnfv dashboard for
[yardstick.git] / samples / ping-parallel.yaml
1 ---
2 # Sample benchmark task config file
3 # Two scenarios run in parallel using different type of runners
4
5 schema: "yardstick:task:0.1"
6 run_in_parallel: true
7
8 scenarios:
9 -
10   type: Ping
11   options:
12     packetsize: 100
13   host: athena.demo
14   target: hades.demo
15   runner:
16     type: Duration
17     duration: 60
18     interval: 1
19   sla:
20     max_rtt: 10
21     action: assert
22 -
23   type: Ping
24   options:
25     packetsize: 200
26   host: athena.demo
27   target: hades.demo
28   runner:
29     type: Duration
30     duration: 60
31     interval: 1
32   sla:
33     max_rtt: 20
34     action: monitor
35
36 context:
37   name: demo
38   image: cirros-0.3.3
39   flavor: m1.tiny
40   user: cirros
41
42   placement_groups:
43     pgrp1:
44       policy: "availability"
45
46   servers:
47     athena:
48       floating_ip: true
49       placement: "pgrp1"
50     hades:
51       placement: "pgrp1"
52
53   networks:
54     test:
55       cidr: '10.0.1.0/24'
56