Yardsitck Gambia Release 7.2.0 release notes.
[yardstick.git] / samples / bonnie++.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 # Sample benchmark task config file
11 # measure storage and file system performance using bonnie++
12
13 schema: "yardstick:task:0.1"
14
15 {% set provider = provider or none %}
16 {% set physical_network = physical_network or 'physnet1' %}
17 {% set segmentation_id = segmentation_id or none %}
18
19 scenarios:
20 -
21   type: Bonnie++
22   options:
23     file_size: 1024
24     ram_size: 512
25     test_dir: /tmp
26     #test_user: root
27     concurrency: 1
28
29   host: bonnie.demo
30
31   runner:
32     type: Iteration
33     iterations: 1
34
35 context:
36   name: demo
37   image: yardstick-image
38   flavor: yardstick-flavor
39   user: ubuntu
40
41   servers:
42     bonnie:
43       floating_ip: true
44
45   networks:
46     test:
47       cidr: '10.0.1.0/24'
48       {% if provider == "vlan" %}
49       provider: {{provider}}
50       physical_network: {{physical_network}}
51         {% if segmentation_id %}
52       segmentation_id: {{segmentation_id}}
53         {% endif %}
54       {% endif %}
55