summaryrefslogtreecommitdiffstats
path: root/VNFs/DPPD-PROX/helper-scripts/rapid/impair.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/impair.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/impair.test')
-rw-r--r--VNFs/DPPD-PROX/helper-scripts/rapid/impair.test16
1 files changed, 6 insertions, 10 deletions
diff --git a/VNFs/DPPD-PROX/helper-scripts/rapid/impair.test b/VNFs/DPPD-PROX/helper-scripts/rapid/impair.test
index ee926ae4..b8e34568 100644
--- a/VNFs/DPPD-PROX/helper-scripts/rapid/impair.test
+++ b/VNFs/DPPD-PROX/helper-scripts/rapid/impair.test
@@ -14,12 +14,10 @@
## limitations under the License.
##
-[DEFAULT]
+[TestParameters]
name = impairTesting
number_of_tests = 2
total_number_of_test_machines = 3
-prox_socket = true
-prox_launch_exit = true
[TestM1]
name = Generator
@@ -39,13 +37,6 @@ name = Swap
config_file = swap.cfg
cores = [1]
-[BinarySearchParams]
-drop_rate_threshold = 0.1
-lat_avg_threshold = 500
-lat_max_threshold = 1000
-accuracy = 0.1
-startspeed = 10
-
[test1]
test=warmuptest
flowsize=1024
@@ -57,3 +48,8 @@ warmuptime=2
test=impairtest
packetsize=64
flowsize=64
+drop_rate_threshold = 0.1
+lat_avg_threshold = 500
+lat_max_threshold = 1000
+accuracy = 0.1
+startspeed = 10