Rework of statistics reporting
[samplevnf.git] / VNFs / DPPD-PROX / helper-scripts / rapid / tests / l2zeroloss.test
1 ##
2 ## Copyright (c) 2010-2019 Intel Corporation
3 ##
4 ## Licensed under the Apache License, Version 2.0 (the "License");
5 ## you may not use this file except in compliance with the License.
6 ## You may obtain a copy of the License at
7 ##
8 ##     http://www.apache.org/licenses/LICENSE-2.0
9 ##
10 ## Unless required by applicable law or agreed to in writing, software
11 ## distributed under the License is distributed on an "AS IS" BASIS,
12 ## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 ## See the License for the specific language governing permissions and
14 ## limitations under the License.
15 ##
16
17 [TestParameters]
18 name = L2BasicSwapTesting
19 number_of_tests = 1
20 total_number_of_test_machines = 2
21
22 [TestM1]
23 name = Generator
24 config_file = configs/l2gen.cfg
25 dest_vm = 2
26 mcore = [0]
27 gencores = [1]
28 latcores = [3]
29
30 [TestM2]
31 name = Swap
32 config_file = configs/l2swap.cfg
33 mcore = [0]
34 cores = [1]
35
36 [test1]
37 test=flowsizetest
38 warmupflowsize=512
39 warmupimix=[64]
40 warmupspeed=1
41 warmuptime=2
42 # Each element in the imix list will result in a separate test. Each element
43 # is on its turn a list of packet sizes which will be used during one test
44 # execution. If you only want to test 1 size, define a list with only one
45 # element.
46 imixs=[[64]]
47 # the number of flows in the list need to be powers of 2, max 2^30
48 # If not a power of 2, we will use the lowest power of 2 that is larger than
49 # the requested number of flows. e.g. 9 will result in 16 flows
50 flows=[512]
51 # Setting one of the following thresholds to infinity (inf)
52 # results in the criterion not being evaluated to rate the test as succesful
53 drop_rate_threshold = 0
54 lat_avg_threshold = 500
55 lat_perc_threshold = 800
56 lat_max_threshold = 1000
57 accuracy = 0.1
58 startspeed = 10