From da879f1f4b6ce68e61eb1202813e9ab45eccbe34 Mon Sep 17 00:00:00 2001 From: Matthew Stidham Date: Tue, 22 Dec 2020 09:37:17 -0800 Subject: [PATCH] layer3connections variable and test duration --- py-scripts/test_ipv4_variable_time.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/py-scripts/test_ipv4_variable_time.py b/py-scripts/test_ipv4_variable_time.py index 3db0214b..752399e8 100755 --- a/py-scripts/test_ipv4_variable_time.py +++ b/py-scripts/test_ipv4_variable_time.py @@ -230,11 +230,11 @@ def main(): report_f='/home/lanforge/report-data/'+str(datetime.datetime.now()).replace(':','-')+'test_ipv4_variable_time.xlsx' else: report_f=args.report_file - + layer3connections=','.join([[*x.keys()][0] for x in ip_var_test.l3cxprofile.json_get('endp')['endpoint']]) ip_var_test.l3cxprofile.monitor(col_names=['Name','Tx Rate','Rx Rate','Tx PDUs','Rx PDUs'], report_file=report_f, - duration_sec=60, - created_cx= ','.join([[*x.keys()][0] for x in ip_var_test.l3cxprofile.json_get('endp')['endpoint']]), + duration_sec=int(args.test_duration), + created_cx= layer3connections, ouput_format='excel') ip_var_test.stop() if not ip_var_test.passes():