From 8f21fb5ed8231125bca3cec1329d9fd739f14684 Mon Sep 17 00:00:00 2001 From: Luc Provoost Date: Fri, 15 May 2020 11:51:56 +0200 Subject: Support for imix packet sizes All packet size in the *.test files have been replaces with imix sizes. imix is now a list of packet sizes. If you want to run with only a pakcet size of 64, you need to specify a list containing only 1 size: [64]. You can also specify multiple imix values by specifying a list of list of sizes. The keyworkds in the test files are now imix & imixs. Change-Id: Iea47c0266b022133b7bbfc9a6811e3199ae41521 Signed-off-by: Luc Provoost --- VNFs/DPPD-PROX/helper-scripts/rapid/rapid_parser.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'VNFs/DPPD-PROX/helper-scripts/rapid/rapid_parser.py') diff --git a/VNFs/DPPD-PROX/helper-scripts/rapid/rapid_parser.py b/VNFs/DPPD-PROX/helper-scripts/rapid/rapid_parser.py index bebc748e..99e0f697 100644 --- a/VNFs/DPPD-PROX/helper-scripts/rapid/rapid_parser.py +++ b/VNFs/DPPD-PROX/helper-scripts/rapid/rapid_parser.py @@ -59,9 +59,9 @@ class RapidConfigParser(object): section = 'test%d'%test_index options = testconfig.options(section) for option in options: - if option in ['packetsizes','flows']: + if option in ['imix','imixs','flows']: test[option] = ast.literal_eval(testconfig.get(section, option)) - test[option] = [int(i) for i in test[option]] +# test[option] = [int(i) for i in test[option]] elif option in ['maxframespersecondallingress','stepsize']: test[option] = int(testconfig.get(section, option)) elif option in ['startspeed','drop_rate_threshold','lat_avg_threshold','lat_perc_threshold','lat_max_threshold','accuracy','maxr','maxz','pass_threshold']: -- cgit 1.2.3-korg