Moving to python 3 for kubernetes scripts
[samplevnf.git] / VNFs / DPPD-PROX / helper-scripts / rapid / l3framerate.test
index 81d9989..1d890d1 100644 (file)
@@ -1,5 +1,5 @@
 ##
-## Copyright (c) 2010-2019 Intel Corporation
+## Copyright (c) 2010-2020 Intel Corporation
 ##
 ## Licensed under the Apache License, Version 2.0 (the "License");
 ## you may not use this file except in compliance with the License.
 ## limitations under the License.
 ##
 
-[DEFAULT]
+[TestParameters]
 name = L3FrameRateTesting
 number_of_tests = 2
 total_number_of_test_machines = 2
-prox_socket = true
-prox_launch_exit = true
-tasks=[0]
 
 [TestM1]
 name = Generator
@@ -32,16 +29,25 @@ latcores = [3]
 [TestM2]
 name = Swap
 config_file = swap.cfg
-swapcores = [1]
+cores = [1]
 
 [test1]
 test=warmuptest
-flowsize=1024
-packetsize=64
-warmupspeed=10
+flowsize=64
+imix=[64]
+warmupspeed=1
 warmuptime=2
 
 [test2]
 test=fixed_rate
-packetsizes=[64]
-speed=10
+# Following parameter defines the success criterium for the test.
+# When this test uses multiple combinations of packet size and flows,
+# all combinations must be meeting the same threshold
+# The threshold is expressed in Mpps
+pass_threshold=0.1
+imixs=[[64],[128]]
+# the number of flows in the list need to be powers of 2, max 2^20
+# If not a power of 2, we will use the lowest power of 2 that is larger than
+# the requested number of flows. e.g. 9 will result in 16 flows
+flows=[1,64]
+startspeed=5