Commit Graph

911 Commits

Author SHA1 Message Date
Matthew Stidham
8dcde027f8 lfcli_base: set type of num_stations to always be an integer. Dot not ever, ever, ever set a flag as default=False. Use action='store_true', and do not ever ever ever use both at the same time.
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-11-23 10:01:00 -08:00
Matthew Stidham
07550300b1 lf-atten_mod_test: trying to turn a string 'all' into an integer will always generate an error
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-11-22 09:56:38 -08:00
Matthew Stidham
c1492964f1 cv_test_manager: Fix report directory
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-11-19 16:27:51 -08:00
Matthew Stidham
6dd06ea692 cv_test_manager: Clean up code which is redundant in the argparser
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-11-19 10:33:06 -08:00
Matthew Stidham
78d712e03e lfcli_base: Mutable defaults at the root of our code are a wonderful way to create unexpected problems.
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-11-19 09:36:18 -08:00
Matthew Stidham
bb366408b5 realm: vrprofile is deprecated
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-11-18 17:32:03 -08:00
Matthew Stidham
c3c2e09950 realm: l3_cxprofile2 is deprecated
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-11-18 17:30:06 -08:00
Matthew Stidham
42345dd0a8 lf_attenmod: self.atten_idx can also be all
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-11-18 17:28:14 -08:00
Matthew Stidham
87edf9813e Deprecate unused files
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-11-18 16:30:48 -08:00
Matthew Stidham
948b60a393 base_profile.py: Fix all errors in base_profile.py
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-11-18 16:24:15 -08:00
Matthew Stidham
2979b00cdb lf_ap_auto_test: Fix lf_attenmod_test
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-11-18 15:26:14 -08:00
Matthew Stidham
edb7bb2e90 cv_test_manager: Remove unused code
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-11-18 11:36:28 -08:00
Matthew Stidham
74cdc984ec cv_test_manager: Clean up warnings
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-11-18 11:22:45 -08:00
Matthew Stidham
39631dd15a cv_test_manager: semi-colons in python are used to separate statements. Don't put them at the end of lines because you feel like it.
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-11-18 10:35:59 -08:00
Matthew Stidham
f70ea39f1f station_profile: Implement modify_station patch so it can get resource and shelf information from --station flag
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-11-17 15:00:29 -08:00
Chuck SmileyRekiere
c5f08b9c50 port_probe.py : beginning of HE calculations
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-11-17 04:12:42 -07:00
Matthew Stidham
2598ac42d9 station_profile: Improve cleanup debugging
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-11-16 18:47:39 -08:00
Matthew Stidham
60d547a7ec realm.py: Improve rm_port and port_exists debugging
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-11-16 18:47:07 -08:00
Matthew Stidham
ad0d80dab1 lfcli_base.json_get: Improve json_get debugging
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-11-16 18:46:35 -08:00
Matthew Stidham
357459f3a9 vr_profile2: Remove invalid comparisons
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-11-16 11:08:12 -08:00
Matthew Stidham
b2a9200511 realm: Remove invalid comparisons
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-11-16 11:08:00 -08:00
Matthew Stidham
3b45c4f11b port_probe: remove invalid comparisons
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-11-16 11:07:48 -08:00
Matthew Stidham
160562de80 wct-example: Remove invalid comparisons
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-11-16 11:07:37 -08:00
Matthew Stidham
75e6d32e3e create_sta: Remove invalid comparisons
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-11-16 11:07:16 -08:00
Matthew Stidham
e071eaa856 l3_cxprofile2: Remove invalid comparisons
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-11-16 11:07:03 -08:00
Matthew Stidham
3a9a0b5de1 pandas_extensions: Remove invalid comparisons
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-11-16 11:06:48 -08:00
Matthew Stidham
bd760c7552 lfcli_base.py: Remove invalid comparisons
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-11-16 11:06:34 -08:00
Matthew Stidham
8a2a466edf LFRequest: Remove invalid comparisons
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-11-16 11:06:19 -08:00
Chuck SmileyRekiere
c29a5e9b12 py-json/port_probe.py : initial commit for VHT calculations
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-11-16 11:02:36 -07:00
Matthew Stidham
0a8461dde1 test_utility.py Remove C0122 errors
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-11-16 09:35:31 -08:00
Matthew Stidham
39746c5ce0 http_profile.py: Remove == None error
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-11-15 17:06:39 -08:00
Matthew Stidham
8713f59098 lf_cv_base: remove shadow built in error
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-11-15 17:05:40 -08:00
Matthew Stidham
7c57cd1d3e l4_cxprofile Remove == None error
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-11-15 17:04:53 -08:00
Matthew Stidham
be740527bf lfcli_base: Create report-data folder in home directory if it doesn't exist
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-11-15 15:56:31 -08:00
Matthew Stidham
d0c40cb4b2 lfcli_base fix if os.path.isdir command
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-11-15 15:35:11 -08:00
Matthew Stidham
3969a4710e station_profile.py: Removing ==True landmines
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-11-15 13:42:34 -08:00
Matthew Stidham
12da46d6fb Remove == True error in LFRequest
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-11-15 13:36:27 -08:00
Matthew Stidham
3c1858a609 Remove == True errors in lfcli_base
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-11-15 13:36:05 -08:00
Matthew Stidham
f2b4628a81 We cannot use default paramters in our code!
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-11-15 11:39:38 -08:00
Matthew Stidham
d549bfccdc More solid pandas call so we don't get an error
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-11-15 10:11:33 -08:00
Chuck SmileyRekiere
e5e3c90336 l3_cxprofile.py : updated to support one interface,
port_probe.py : added more supported mcs in calculation
test_ip_variable_time.py : added support for use_existing_sta
removed create_sta as it was defaulted True and could not be set by
construct.

inconsistent list construction between single and multiple elements
decided around May 23, 2018
Updates for probe with AX210 , AX200 wiphy

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-11-14 08:49:42 -07:00
Chuck SmileyRekiere
1aa792930a One Interface support to work with
inconsistent list construction between single and multiple elements
decided around May 23, 2018
Updates for probe with AX210 , AX200 wiphy

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-11-13 06:36:29 -07:00
Matthew Stidham
7ff62b9fd6 Fix improper equalities in LFUtils.py
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-11-12 14:42:29 -08:00
Jed Reynolds
ec76d13ba5 LFRequest.py: json_post debug message more readable
Signed-off-by: Jed Reynolds <jed@bitratchet.com>
2021-11-08 22:28:54 -08:00
Matthew Stidham
c4511ad39a Fix LFRequest.get so it inherits debug commands from the class
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-11-08 18:52:26 -08:00
Chuck SmileyRekiere
958427c1e2 Jira: LAN-715 port_probe.py : defaut bw = 20 to fix
UnboundLocalError: local variable 'bw' referenced before assignment

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-11-06 14:56:43 -06:00
Matthew Stidham
f2a6ab15bd Revert "Deprecating l3_cxprofile2.py"
This reverts commit d50907c8b3.
2021-11-05 13:33:21 -07:00
Matthew Stidham
d50907c8b3 Deprecating l3_cxprofile2.py
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-11-05 12:39:55 -07:00
Matthew Stidham
9963b32ba9 Set default min_bps in l3cxprofile in order to make it easier to use in command line.
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-11-05 11:58:11 -07:00
Jed Reynolds
8a0b5c22f0 LFRequest.py: converting if(debug):print() to self.logger.debug() statements
This change hooks into the global python logging instance and exercises level based logging
without more advanced logic like "digest/json/http/gui" as documented elsewhere. Need to
establish the correctness of this usage before moving forward.

Signed-off-by: Jed Reynolds <jed@bitratchet.com>
2021-11-03 19:53:30 -07:00