summaryrefslogtreecommitdiffstats
path: root/VNFs/DPPD-PROX/helper-scripts/rapid/l2framerate.test
diff options
context:
space:
mode:
authorLuc Provoost <luc.provoost@intel.com>2020-04-27 12:32:43 -0400
committerLuc Provoost <luc.provoost@intel.com>2020-05-15 11:55:09 +0200
commit4d932aced6931d756e07dbce6ab7cf04799ba5f4 (patch)
treee8ac2d1af449671f451450fb8ae106496a73798f /VNFs/DPPD-PROX/helper-scripts/rapid/l2framerate.test
parent44327c1d12591af41658a4c492fdee597fe4ab74 (diff)
Code rewrite and Python3 support
The code has been rewritten in multiple classes and files for better readability and maintainability. You should now also use Python3 to run the scripts. Some of the variables in the config files have moved to other sections. The pushgateway parameter moved to the [varia] section of the rapid environment file. Change-Id: Ic61a1bc3baa39447d42b21dfcc0f16c28fcdfa6e Signed-off-by: Luc Provoost <luc.provoost@intel.com>
Diffstat (limited to 'VNFs/DPPD-PROX/helper-scripts/rapid/l2framerate.test')
-rw-r--r--VNFs/DPPD-PROX/helper-scripts/rapid/l2framerate.test12
1 files changed, 7 insertions, 5 deletions
diff --git a/VNFs/DPPD-PROX/helper-scripts/rapid/l2framerate.test b/VNFs/DPPD-PROX/helper-scripts/rapid/l2framerate.test
index 4fb0baef..3efbc1a8 100644
--- a/VNFs/DPPD-PROX/helper-scripts/rapid/l2framerate.test
+++ b/VNFs/DPPD-PROX/helper-scripts/rapid/l2framerate.test
@@ -14,12 +14,10 @@
## limitations under the License.
##
-[DEFAULT]
+[TestParameters]
name = L2BasicSwapTesting
number_of_tests = 1
total_number_of_test_machines = 2
-prox_socket = true
-prox_launch_exit = true
[TestM1]
name = Generator
@@ -27,7 +25,6 @@ config_file = l2gen.cfg
dest_vm = 2
gencores = [1]
latcores = [3]
-startspeed = 10
[TestM2]
name = Swap
@@ -36,6 +33,11 @@ cores = [1]
[test1]
test=fixed_rate
+# 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
+startspeed = 10
packetsizes=[256]
flows=[64]
-speed=10