Merge "Add infrastructure to add the NFVi KPI collections"
[yardstick.git] / tests / opnfv / test_cases / opnfv_yardstick_tc005.yaml
1 ---
2
3 schema: "yardstick:task:0.1"
4 description: >
5     Yardstick TC005 config file;
6     Measure Storage IOPS, throughput and latency using fio.
7
8 scenarios:
9 {% for rw in ['read', 'write', 'randwrite', 'randread', 'rw'] %}
10   {% for bs in ['4k', '64k', '1024k'] %}
11 -
12   type: Fio
13   options:
14     filename: /home/ubuntu/data.raw
15     bs: {{bs}}
16     rw: {{rw}}
17     ramp_time: 10
18     duration: 20
19
20   host: fio.yardstick-TC005
21
22   runner:
23     type: Iteration
24     iterations: 1
25     interval: 1
26
27   sla:
28     read_bw: 400
29     read_iops: 100
30     read_lat: 20000
31     write_bw: 400
32     write_iops: 100
33     write_lat: 20000
34     action: monitor
35   {% endfor %}
36 {% endfor %}
37
38 context:
39   name: yardstick-TC005
40   image: yardstick-image
41   flavor: yardstick-flavor
42   user: ubuntu
43
44   servers:
45     fio:
46       floating_ip: true
47
48   networks:
49     test:
50       cidr: '10.0.1.0/24'