d08dbaa6ebeef12c4b16df0c5ad1eae390f9f5ed
[yardstick.git] / tests / opnfv / test_cases / opnfv_yardstick_tc074.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     Test case for TC074 StorPerf benchmark task config file;
14     StorPerf is a tool to measure block and object storage performance in an NFVI.
15
16 {% set public_network = public_network or "ext-net" %}
17 {% set StorPerf_ip = StorPerf_ip or "192.168.200.1" %}
18 {% set workload = workload or "" %}
19 {% set workloads = workloads or "" %}
20 {% set agent_count = agent_count or 1 %}
21 {% set block_sizes = block_sizes or "4096" %}
22 {% set queue_depths = queue_depths or "4" %}
23 {% set steady_state_samples = steady_state_samples or 10 %}
24 {% set volume_size = volume_size or 4 %}
25 scenarios:
26 -
27   type: StorPerf
28   options:
29     agent_count: {{agent_count}}
30     agent_image: "Ubuntu-16.04"
31     agent_flavor: "storperf"
32     public_network: {{public_network}}
33     volume_size: {{volume_size}}
34     block_sizes: {{block_sizes}}
35     queue_depths: {{queue_depths}}
36     StorPerf_ip: {{StorPerf_ip}}
37     query_interval: 10
38     timeout: 300
39     workload: {{workload}}
40     workloads: {{workloads}}
41     steady_state_samples: {{steady_state_samples}}
42
43   runner:
44     type: Iteration
45     iterations: 1
46
47 context:
48   type: Dummy
49   name: Dummy