Added NSB descriptors for vCMTS testcase
[yardstick.git] / samples / netperf_node.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 # Sample benchmark task config file
11 # measure network latency and throughput using netperf
12 # There are two sample scenarios: bulk test and request/response test
13 # In bulk test, UDP_STREAM and TCP_STREAM can be used
14 # send_msg_size and recv_msg_size are options of bulk test
15 # In req/rsp test, TCP_RR TCP_CRR UDP_RR can be used
16 # req_rsp_size is option of req/rsp test
17
18 schema: "yardstick:task:0.1"
19
20 scenarios:
21 -
22   type: NetperfNode
23   options:
24     testname: 'UDP_STREAM'
25     send_msg_size: 1024
26     duration: 20
27
28   host: node1.LF
29   target: node2.LF
30
31   runner:
32     type: Iteration
33     iterations: 1
34     interval: 1
35   sla:
36     mean_latency: 100
37     action: monitor
38 #-
39 #  type: NetperfNode
40 #  options:
41 #    testname: 'TCP_RR'
42 #    req_rsp_size: '32,1024'
43 #
44 #  host: node1.LF
45 #  target: node2.LF
46 #
47 #  runner:
48 #    type: Duration
49 #    duration: 20
50 #    interval: 1
51 #  sla:
52 #    mean_latency: 300
53 #    action: monitor
54
55 context:
56   type: Node
57   name: LF
58   file: etc/yardstick/nodes/compass_sclab_physical/pod.yaml
59