bug fix : git clone yardstick repo failed
[yardstick.git] / samples / ping.yaml
1 ---
2 # Sample benchmark task config file
3 # measure network latency using ping
4
5 schema: "yardstick:task:0.1"
6
7 scenarios:
8 -
9   type: Ping
10   options:
11     packetsize: 200
12   host: athena.demo
13   target: ares.demo
14
15   runner:
16     type: Duration
17     duration: 60
18     interval: 1
19
20   sla:
21     max_rtt: 10
22     action: monitor
23
24 context:
25   name: demo
26   image: cirros-0.3.3
27   flavor: m1.tiny
28   user: cirros
29
30   placement_groups:
31     pgrp1:
32       policy: "availability"
33
34   servers:
35     athena:
36       floating_ip: true
37       placement: "pgrp1"
38     ares:
39       placement: "pgrp1"
40
41   networks:
42     test:
43       cidr: '10.0.1.0/24'
44