Fix the search algorithm
[samplevnf.git] / VNFs / DPPD-PROX / helper-scripts / rapid / tests / basicrapid_gw.test
1 ##
2 ## Copyright (c) 2021 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 # CHECK README IN THIS DIRECTORY FOR MORE EXPLANATION
17 # ON PARAMETERS IN THIS FILE
18
19 [TestParameters]
20 name = BasicSwapWithGatewayTesting
21 number_of_tests = 1
22 total_number_of_test_machines = 3
23 lat_percentile = 99
24
25 [TestM1]
26 name = Generator
27 config_file = configs/gen_gw.cfg
28 gw_vm = 2
29 dest_vm = 3
30 mcore = [0]
31 gencores = [1]
32 latcores = [3]
33 #bucket_size_exp = 12
34
35 [TestM2]
36 name = Gateway
37 monitor = false
38 prox_socket = false
39 prox_launch_exit = false
40
41 [TestM3]
42 name = Swap
43 config_file = configs/swap_gw.cfg
44 gw_vm = 2
45 mcore = [0]
46 cores = [1]
47 #prox_socket = true
48 #prox_launch_exit = true
49
50 [test1]
51 test=flowsizetest
52 warmupflowsize=512
53 warmupimix=[64]
54 warmupspeed=1
55 warmuptime=2
56 # Each element in the imix list will result in a separate test. Each element
57 # is on its turn a list of packet sizes which will be used during one test
58 # execution. If you only want to test 1 size, define a list with only one
59 # element.
60 imixs=[[64],[64,250,800,800]]
61 # the number of flows in the list need to be powers of 2, max 2^30
62 # If not a power of 2, we will use the lowest power of 2 that is larger than
63 # the requested number of flows. e.g. 9 will result in 16 flows
64 flows=[64,500000]
65 # Setting one of the following thresholds to infinity (inf)
66 # results in the criterion not being evaluated to rate the test as succesful
67 drop_rate_threshold = 0.1
68 lat_avg_threshold = 50
69 lat_perc_threshold = 80
70 lat_max_threshold = inf
71 accuracy = 1
72 startspeed = 50
73 #ramp_step = 1