37ea715a2effb11290eb1392a128877712b04b3b
[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   options:
24     packetsize: 100
25   host: apollo.demo
26   target: artemis.demo
27   runner:
28     type: Arithmetic
29     name: packetsize
30     interval: 0.2
31     stop: 6000
32     step: 100
33
34 context:
35   name: demo
36   image: cirros-0.3.3
37   flavor: m1.tiny
38   user: cirros
39
40   servers:
41     apollo:
42       floating_ip: true
43     artemis:
44
45   networks:
46     test:
47       cidr: '10.0.1.0/24'
48