##
-## 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 = L2BasicSwapTesting
-number_of_tests = 2
+number_of_tests = 1
total_number_of_test_machines = 2
-prox_socket = true
-prox_launch_exit = true
-tasks=[0]
[TestM1]
name = Generator
dest_vm = 2
gencores = [1]
latcores = [3]
-startspeed = 10
[TestM2]
name = Swap
config_file = l2swap.cfg
-swapcores = [1]
+cores = [1]
[test1]
-test=warmuptest
-flowsize=1024
-packetsize=64
-warmupspeed=10
-warmuptime=2
-
-
-[test2]
test=fixed_rate
-packetsizes=[256]
-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
+startspeed = 10
+imixs=[[256]]
+flows=[64]