This patch is used to add grafana config to opnfv dashboard for
[yardstick.git] / samples / ping-serial.yaml
1 ---
2 # Sample benchmark task config file
3 # Two scenarios run serially using different types of runners
4
5 schema: "yardstick:task:0.1"
6
7 scenarios:
8 -
9   type: Ping
10   options:
11     packetsize: 100
12   host: apollo.demo
13   target: artemis.demo
14   runner:
15     type: Duration
16     duration: 20
17     interval: 1
18   sla:
19     max_rtt: 10
20     action: monitor
21 -
22   type: Ping
23   host: apollo.demo
24   target: artemis.demo
25   runner:
26     type: Arithmetic
27     interval: 0.2
28     iterators:
29     -
30       name: packetsize
31       start: 100
32       stop: 6000
33       step: 100
34
35 context:
36   name: demo
37   image: cirros-0.3.3
38   flavor: m1.tiny
39   user: cirros
40
41   servers:
42     apollo:
43       floating_ip: true
44     artemis:
45
46   networks:
47     test:
48       cidr: '10.0.1.0/24'
49