Merge "Add send socket commands function"
[yardstick.git] / tests / opnfv / test_cases / opnfv_yardstick_tc078.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     Measure CPU performance using SPEC CPU2006;
14
15 {% set file = file or "/etc/yardstick/pod.yaml" %}
16 {% set host = host or 'node1' %}
17 {% set benchmark = benchmark or 'int' %}
18 {% set runspec_iterations = runspec_iterations or 1 %}
19 {% set runspec_tune = runspec_tune or 'base' %}
20 {% set runspec_size = runspec_size or 'ref' %}
21 {% set runspec_rate = runspec_rate or 1 %}
22
23 scenarios:
24 -
25   type: SpecCPU2006
26
27   options:
28       SPECint_benchmark: {{benchmark}}
29       runspec_iterations: {{runspec_iterations}}
30       runspec_tune: {{runspec_tune}}
31       runspec_size: {{runspec_size}}
32       runspec_rate: {{runspec_rate}}
33
34   host: {{host}}.yardstick-TC078
35
36   runner:
37     type: Iteration
38     iterations: 1
39
40 context:
41   type: Node
42   name: yardstick-TC078
43   file: {{ file }}
44
45   env:
46     type: ansible
47     setup: spec_cpu2006_install.yaml
48     teardown: spec_cpu2006_uninstall.yaml