mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-07 22:23:29 +00:00
arg changes
This commit is contained in:
@@ -1158,8 +1158,6 @@ class L3CXProfile(BaseProfile):
|
|||||||
raise ValueError("Monitor needs a list of Layer 3 connections")
|
raise ValueError("Monitor needs a list of Layer 3 connections")
|
||||||
if (monitor_interval is None) or (monitor_interval < 1):
|
if (monitor_interval is None) or (monitor_interval < 1):
|
||||||
raise ValueError("L3CXProfile::monitor wants monitor_interval >= 1 second")
|
raise ValueError("L3CXProfile::monitor wants monitor_interval >= 1 second")
|
||||||
#if col_names is None:
|
|
||||||
#raise ValueError("L3CXProfile::monitor wants a list of column names to monitor")
|
|
||||||
if output_format is not None:
|
if output_format is not None:
|
||||||
if output_format.lower() != report_file.split('.')[-1]:
|
if output_format.lower() != report_file.split('.')[-1]:
|
||||||
if output_format.lower() != 'excel':
|
if output_format.lower() != 'excel':
|
||||||
@@ -1221,6 +1219,8 @@ class L3CXProfile(BaseProfile):
|
|||||||
old_cx_rx_values = new_cx_rx_values
|
old_cx_rx_values = new_cx_rx_values
|
||||||
#write csv file here - open, write, and close file
|
#write csv file here - open, write, and close file
|
||||||
time.sleep(monitor_interval)
|
time.sleep(monitor_interval)
|
||||||
|
if self.debug:
|
||||||
|
print("Printing value map...")
|
||||||
print(value_map)
|
print(value_map)
|
||||||
|
|
||||||
#organize data
|
#organize data
|
||||||
|
|||||||
@@ -164,12 +164,13 @@ python3 ./test_ipv4_variable_time.py
|
|||||||
--ssid netgear
|
--ssid netgear
|
||||||
--password admin123
|
--password admin123
|
||||||
--test_duration 2m (default)
|
--test_duration 2m (default)
|
||||||
--a_min 1000
|
--a_min 3000
|
||||||
--b_min 1000
|
--b_min 1000
|
||||||
--ap "00:0e:8e:78:e1:76"
|
--ap "00:0e:8e:78:e1:76"
|
||||||
--output_format csv
|
--output_format csv
|
||||||
--report_file ~/Documents/results.csv (Example of csv file output - please use another extension for other files)
|
--report_file ~/Documents/results.csv (Example of csv file output - please use another extension for other files)
|
||||||
--compared_report ~/Documents/results_prev.csv (Example of csv file retrieval - please use another extension for other files)
|
--compared_report ~/Documents/results_prev.csv (Example of csv file retrieval - please use another extension for other files) - UNDER CONSTRUCTION
|
||||||
|
--col_names ['name','tx bytes', 'rx bytes','dropped']
|
||||||
--debug
|
--debug
|
||||||
''')
|
''')
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user