1 ##############################################################################
2 # Copyright (c) 2017 Huawei Technologies Co.,Ltd and others.
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 ##############################################################################
11 schema: "yardstick:task:0.1"
13 Yardstick TC006 config file;
14 Measure volume storage IOPS, throughput and latency using fio with job file.
16 {% set job_file_config = job_file_config or '["[random-writers]", ioengine=libaio, rw=randwrite, size=128m, bs=32k, direct=0, size=64m, numjobs=4]' %}
17 {% set directory = directory or '/FIO_Test' %}
18 {% set volume_size = volume_size or 200 %}
19 {% set provider = provider or none %}
20 {% set physical_network = physical_network or 'physnet1' %}
21 {% set segmentation_id = segmentation_id or none %}
23 schema: "yardstick:task:0.1"
29 # input the content of a fio job file directly
30 job_file_config: {{ job_file_config }}
31 # or input the job file name
32 #job_file: "job_file.ini"
33 directory: {{ directory }}
35 host: fio.yardstick-TC006
53 image: yardstick-image
54 flavor: yardstick-flavor
62 volume_mountpoint: /dev/vdb
67 {% if provider == "vlan" %}
68 provider: {{provider}}
69 physical_network: {{physical_network}}
70 {% if segmentation_id %}
71 segmentation_id: {{segmentation_id}}