mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-02 19:58:03 +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")
|
||||
if (monitor_interval is None) or (monitor_interval < 1):
|
||||
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.lower() != report_file.split('.')[-1]:
|
||||
if output_format.lower() != 'excel':
|
||||
@@ -1221,7 +1219,9 @@ class L3CXProfile(BaseProfile):
|
||||
old_cx_rx_values = new_cx_rx_values
|
||||
#write csv file here - open, write, and close file
|
||||
time.sleep(monitor_interval)
|
||||
print(value_map)
|
||||
if self.debug:
|
||||
print("Printing value map...")
|
||||
print(value_map)
|
||||
|
||||
#organize data
|
||||
full_test_data_list = []
|
||||
|
||||
@@ -164,12 +164,13 @@ python3 ./test_ipv4_variable_time.py
|
||||
--ssid netgear
|
||||
--password admin123
|
||||
--test_duration 2m (default)
|
||||
--a_min 1000
|
||||
--a_min 3000
|
||||
--b_min 1000
|
||||
--ap "00:0e:8e:78:e1:76"
|
||||
--output_format csv
|
||||
--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
|
||||
''')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user