Merge "Add a new monitor type: MultiMonitor that can run any number of other monitors...
[yardstick.git] / tests / opnfv / test_cases / opnfv_yardstick_tc005.yaml
1 ##############################################################################
2 # Copyright (c) 2017 Huawei Technologies Co.,Ltd and others.
3 #
4 # All rights reserved. This program and the accompanying materials
5 # are made available under the terms of the Apache License, Version 2.0
6 # which accompanies this distribution, and is available at
7 # http://www.apache.org/licenses/LICENSE-2.0
8 ##############################################################################
9 ---
10
11 schema: "yardstick:task:0.1"
12 description: >
13     Yardstick TC005 config file;
14     Measure Storage IOPS, throughput and latency using fio.
15
16 scenarios:
17 {% for rw in ['read', 'write', 'randwrite', 'randread', 'rw'] %}
18   {% for bs in ['4k', '64k', '1024k'] %}
19 -
20   type: Fio
21   options:
22     filename: /home/ubuntu/data.raw
23     bs: {{bs}}
24     rw: {{rw}}
25     ramp_time: 10
26     duration: 20
27
28   host: fio.yardstick-TC005
29
30   runner:
31     type: Iteration
32     iterations: 1
33     interval: 1
34
35   sla:
36     read_bw: 400
37     read_iops: 100
38     read_lat: 20000
39     write_bw: 400
40     write_iops: 100
41     write_lat: 20000
42     action: monitor
43   {% endfor %}
44 {% endfor %}
45
46 context:
47   name: yardstick-TC005
48   image: yardstick-image
49   flavor: yardstick-flavor
50   user: ubuntu
51
52   servers:
53     fio:
54       floating_ip: true
55
56   networks:
57     test:
58       cidr: '10.0.1.0/24'