Merge "fix Dummy test context name"
[yardstick.git] / tests / opnfv / test_cases / opnfv_yardstick_tc073.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     Yardstick TC073 config file;
14     measure network latency and throughput using netperf;
15     There are two sample scenarios: bulk test and request/response test;
16     In bulk test, UDP_STREAM and TCP_STREAM can be used;
17     send_msg_size and recv_msg_size are options of bulk test;
18     In req/rsp test, TCP_RR TCP_CRR UDP_RR can be used;
19     req_rsp_size is option of req/rsp test;
20
21 {% set host = host or "node1" %}
22 {% set target = target or "node2" %}
23 {% set file = file or '/etc/yardstick/pod.yaml' %}
24 scenarios:
25 -
26   type: NetperfNode
27   options:
28     testname: 'UDP_STREAM'
29     send_msg_size: 1024
30     duration: 20
31
32   host: {{host}}.LF
33   target: {{target}}.LF
34
35   runner:
36     type: Iteration
37     iterations: 1
38     interval: 1
39   sla:
40     mean_latency: 100
41     action: monitor
42
43 context:
44   type: Node
45   name: LF
46   file: {{file}}
47