Merge "Cleanup OpenStack utils test cases"
[yardstick.git] / tests / opnfv / test_cases / opnfv_yardstick_tc079.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 TC079 config file;
14     measure storage and file system performance using bonnie++;
15
16 {% set provider = provider or none %}
17 {% set physical_network = physical_network or 'physnet1' %}
18 {% set segmentation_id = segmentation_id or none %}
19
20 scenarios:
21 -
22   type: Bonnie++
23   options:
24     file_size: 1024
25     ram_size: 512
26     test_dir: /tmp
27     concurrency: 1
28
29   host: bonnie.yardstick-TC079
30
31   runner:
32     type: Iteration
33     iterations: 1
34
35 context:
36   name: yardstick-TC079
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" or provider == "sriov" %}
49       provider: {{provider}}
50       physical_network: {{physical_network}}
51         {% if segmentation_id %}
52       segmentation_id: {{segmentation_id}}
53         {% endif %}
54       {% endif %}