ramp generator traffic & prox.log copy
[samplevnf.git] / VNFs / DPPD-PROX / helper-scripts / rapid / 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 = 2
20 total_number_of_test_machines = 2
21
22 [TestM1]
23 name = Generator
24 config_file = l2gen.cfg
25 dest_vm = 2
26 gencores = [1]
27 latcores = [3]
28
29 [TestM2]
30 name = Swap
31 config_file = l2swap.cfg
32 cores = [1]
33
34 [test1]
35 test=warmuptest
36 flowsize=512
37 imix=[64]
38 warmupspeed=1
39 warmuptime=2
40
41 [test2]
42 test=flowsizetest
43 # Following parameter defines the success criterium for the test.
44 # When this test uses multiple combinations of packet size and flows,
45 # all combinations must be meeting the same threshold
46 # The threshold is expressed in Mpps
47 pass_threshold=0.1
48 # Each element in the imix list will result in a separate test. Each element
49 # is on its turn a list of packet sizes which will be used during one test
50 # execution. If you only want to test 1 size, define a list with only one
51 # element.
52 imixs=[[64]]
53 # the number of flows in the list need to be powers of 2, max 2^30
54 # If not a power of 2, we will use the lowest power of 2 that is larger than
55 # the requested number of flows. e.g. 9 will result in 16 flows
56 flows=[512]
57 # Setting one of the following thresholds to infinity (inf)
58 # results in the criterion not being evaluated to rate the test as succesful
59 drop_rate_threshold = 0
60 lat_avg_threshold = 500
61 lat_perc_threshold = 800
62 lat_max_threshold = 1000
63 accuracy = 0.1
64 startspeed = 10