fix: IPV6 packet generation, packet loss reporting
[samplevnf.git] / VNFs / DPPD-PROX / helper-scripts / rapid / ipv6.test
1 ##
2 ## Copyright (c) 2020 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 = BasicSwapTesting
19 number_of_tests = 2
20 total_number_of_test_machines = 2
21 lat_percentile = 99
22 ipv6 = True
23
24 [TestM1]
25 name = Generator
26 config_file = genv6.cfg
27 dest_vm = 2
28 gencores = [1]
29 latcores = [3]
30 #bucket_size_exp = 12
31
32 [TestM2]
33 name = Swap
34 config_file = swapv6.cfg
35 cores = [1]
36 #prox_socket = true
37 #prox_launch_exit = true
38
39 [test1]
40 test=warmuptest
41 flowsize=512
42 imix=[84]
43 warmupspeed=1
44 warmuptime=2
45
46 [test2]
47 test=flowsizetest
48 # Following parameter defines the success criterium for the test.
49 # When this test uses multiple combinations of packet size and flows,
50 # all combinations must be meeting the same threshold
51 # The threshold is expressed in Mpps
52 pass_threshold=0.1
53 # DO NOT USE IMIX FOR IPV6 TESTING
54 # PACKET SIZE NEEDS TO BE AT LEAST 84 (66 + 18) FOR IPV6
55 # 18 bytes needed for UDP LATENCY AND COUNTER CONTENT
56 imixs=[[84],[250]]
57 # Number of flows in the list need to be powers of 2, max 2^30
58 # If not a power of 2, we will use the lowest power of 2 that is larger than
59 # the requested number of flows. e.g. 9 will result in 16 flows
60 flows=[64,500000]
61 # Setting one of the following thresholds to infinity (inf)
62 # results in the criterion not being evaluated to rate the test as succesful
63 drop_rate_threshold = 0.1
64 lat_avg_threshold = 50
65 lat_perc_threshold = 80
66 lat_max_threshold = inf
67 accuracy = 1
68 startspeed = 50