aboutsummaryrefslogtreecommitdiffstats
path: root/tests/opnfv/test_cases/opnfv_yardstick_tc074.yaml
blob: d08dbaa6ebeef12c4b16df0c5ad1eae390f9f5ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
##############################################################################
# Copyright (c) 2017 Huawei Technologies Co.,Ltd and others.
#
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################
---

schema: "yardstick:task:0.1"
description: >
    Test case for TC074 StorPerf benchmark task config file;
    StorPerf is a tool to measure block and object storage performance in an NFVI.

{% set public_network = public_network or "ext-net" %}
{% set StorPerf_ip = StorPerf_ip or "192.168.200.1" %}
{% set workload = workload or "" %}
{% set workloads = workloads or "" %}
{% set agent_count = agent_count or 1 %}
{% set block_sizes = block_sizes or "4096" %}
{% set queue_depths = queue_depths or "4" %}
{% set steady_state_samples = steady_state_samples or 10 %}
{% set volume_size = volume_size or 4 %}
scenarios:
-
  type: StorPerf
  options:
    agent_count: {{agent_count}}
    agent_image: "Ubuntu-16.04"
    agent_flavor: "storperf"
    public_network: {{public_network}}
    volume_size: {{volume_size}}
    block_sizes: {{block_sizes}}
    queue_depths: {{queue_depths}}
    StorPerf_ip: {{StorPerf_ip}}
    query_interval: 10
    timeout: 300
    workload: {{workload}}
    workloads: {{workloads}}
    steady_state_samples: {{steady_state_samples}}

  runner:
    type: Iteration
    iterations: 1

context:
  type: Dummy
  name: Dummy