Merge "Adding simple cmdline to run the Network service testcases"
[yardstick.git] / tests / opnfv / test_cases / opnfv_yardstick_tc073.yaml
1 ---
2
3 schema: "yardstick:task:0.1"
4 description: >
5     Yardstick TC073 config file;
6     measure network latency and throughput using netperf;
7     There are two sample scenarios: bulk test and request/response test;
8     In bulk test, UDP_STREAM and TCP_STREAM can be used;
9     send_msg_size and recv_msg_size are options of bulk test;
10     In req/rsp test, TCP_RR TCP_CRR UDP_RR can be used;
11     req_rsp_size is option of req/rsp test;
12
13 {% set host = host or "node1.LF" %}
14 {% set target = target or "node2.LF" %}
15 {% set pod_info = pod_info or "etc/yardstick/nodes/compass_sclab_physical/pod.yaml" %}
16 scenarios:
17 -
18   type: NetperfNode
19   options:
20     testname: 'UDP_STREAM'
21     send_msg_size: 1024
22     duration: 20
23
24   host: {{host}}
25   target: {{target}}
26
27   runner:
28     type: Iteration
29     iterations: 1
30     interval: 1
31   sla:
32     mean_latency: 100
33     action: monitor
34
35 context:
36   type: Node
37   name: LF
38   file: {{pod_info}}
39