aboutsummaryrefslogtreecommitdiffstats
path: root/tests/opnfv/test_cases/opnfv_yardstick_tc078.yaml
blob: e5cf6ce3625843911efee97a15898f48b3ef7147 (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
##############################################################################
# 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: >
    Measure CPU performance using SPEC CPU2006;

{% set file = file or "/etc/yardstick/pod.yaml" %}
{% set host = host or 'node1' %}
{% set benchmark = benchmark or 'int' %}
{% set runspec_iterations = runspec_iterations or 1 %}
{% set runspec_tune = runspec_tune or 'base' %}
{% set runspec_size = runspec_size or 'ref' %}
{% set runspec_rate = runspec_rate or 1 %}

scenarios:
-
  type: SpecCPU2006

  options:
      SPECint_benchmark: {{benchmark}}
      runspec_iterations: {{runspec_iterations}}
      runspec_tune: {{runspec_tune}}
      runspec_size: {{runspec_size}}
      runspec_rate: {{runspec_rate}}

  host: {{host}}.yardstick-TC078

  runner:
    type: Iteration
    iterations: 1

context:
  type: Node
  name: yardstick-TC078
  file: {{ file }}

  env:
    type: ansible
    setup: spec_cpu2006_install.yaml
    teardown: spec_cpu2006_uninstall.yaml