bug fix : git clone yardstick repo failed
[yardstick.git] / samples / ping-heat-context.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   type: Heat
26   name: demo
27   image: cirros-0.3.3
28   flavor: m1.tiny
29   user: cirros
30
31   placement_groups:
32     pgrp1:
33       policy: "availability"
34
35   servers:
36     athena:
37       floating_ip: true
38       placement: "pgrp1"
39     ares:
40       placement: "pgrp1"
41
42   networks:
43     test:
44       cidr: '10.0.1.0/24'
45