summaryrefslogtreecommitdiffstats
path: root/tests/opnfv/test_cases/opnfv_yardstick_tc074.yaml
blob: e4f715c84c30cede34a78bbc4913ae47c193066a (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
50
51
52
53
54
55
56
57
58
59
##############################################################################
# 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 %}
{% set volume_count = volume_count or 1 %}
{% set volume_type = volume_type or "" %}
{% set availability_zone = availability_zone or "nova" %}
{% set subnet_CIDR = subnet_CIDR or "172.16.0.0/16" %}
{% set stack_name = stack_name or "StorperfAgentGroup" %}
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}}
    volume_count: {{volume_count}}
    volume_type: {{volume_type}}
    availability_zone: {{availability_zone}}
    subnet_CIDR: {{subnet_CIDR}}
    stack_name: {{stack_name}}

  runner:
    type: Iteration
    iterations: 1

context:
  type: Dummy
  name: Dummy