aboutsummaryrefslogtreecommitdiffstats
path: root/samples/storperf.yaml
blob: d8641fc0cf0817470a80f007c4a58640b4dcfa53 (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
##############################################################################
# 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
##############################################################################
---
# Sample StorPerf benchmark task config file
# StorPerf is a tool to measure block and object storage performance in an NFVI

schema: "yardstick:task:0.1"

scenarios:
-
  type: StorPerf
  options:
    agent_count: 1
    agent_image: "Ubuntu-14.04"
    public_network: "ext-net"
    volume_size: 2
    # target:
    # deadline:
    # nossd:
    # nowarm:
    block_sizes: "4096"
    queue_depths: "4"
    workload: "ws"
    StorPerf_ip: "192.168.23.2"
    query_interval: 10
    timeout: 600

  runner:
    type: Iteration
    iterations: 1

context:
  type: Dummy
n class="si">${DEPLOY_SCENARIO}" =~ "-openo" ]]; then export NETWORK_CONF_FILE=network_openo.yml elif [[ "${DEPLOY_SCENARIO}" =~ "-ovs_dpdk" ]]; then export NETWORK_CONF_FILE=network_dpdk.yml else export NETWORK_CONF_FILE=network.yml fi if [[ "$NODE_NAME" =~ "intel-pod8" ]]; then export OS_MGMT_NIC=em4 fi if [[ "$NODE_NAME" =~ "-virtual" ]]; then export NETWORK_CONF=$CONFDIR/vm_environment/$NODE_NAME/${NETWORK_CONF_FILE} export DHA_CONF=$CONFDIR/vm_environment/${DEPLOY_SCENARIO}.yml if [[ "${DEPLOY_SCENARIO}" =~ "-moon-noha" ]]; then export VIRT_NUMBER=3 elif [[ "${DEPLOY_SCENARIO}" =~ "-noha" ]]; then export VIRT_NUMBER=2 fi else export INSTALL_NIC=eth1 export NETWORK_CONF=$CONFDIR/hardware_environment/$NODE_NAME/${NETWORK_CONF_FILE} export DHA_CONF=$CONFDIR/hardware_environment/$NODE_NAME/${DEPLOY_SCENARIO}.yml fi export DHA=${DHA_CONF} export NETWORK=${NETWORK_CONF} source ./ci/deploy_ci.sh if [ $? -ne 0 ]; then echo "depolyment failed!" deploy_ret=1 fi echo echo "--------------------------------------------------------" echo "Done!" exit $deploy_ret