Commit Graph

897 Commits

Author SHA1 Message Date
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
Jed Reynolds
2f7baf2987 lfcli_base.py: can now import lanforge_client.logg
Adds notes on where present logg() function is being used

Signed-off-by: Jed Reynolds <jed@bitratchet.com>
2021-11-03 19:53:30 -07:00
Jed Reynolds
3a17f699cc LFUtils.py can now import Logg
Signed-off-by: Jed Reynolds <jed@bitratchet.com>
2021-11-03 19:53:30 -07:00
Jed Reynolds
be4c47295f lfcli_base.py: adds logging logic that is distinct from lanforge_api.py but similar in function
this was checked with lf_help_check.bash and check_argparse.py.

Signed-off-by: Jed Reynolds <jreynolds@candelatech.com>
2021-11-02 16:45:28 -07:00
Jed Reynolds
8118406f7d lfcli_base.py: whitespace, renamed variable x to argument 2021-11-02 16:45:28 -07:00
Chuck SmileyRekiere
12c8985424 l3_cxprofile.py append 'alias' soon to the columns
test_ip_variable_time.py update example

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-11-02 07:52:55 -06:00
Jed Reynolds
45ae840e2a lf_json_autogen.py removed, replaced by lanforge_api.py
Signed-off-by: Jed Reynolds <jed@bitratchet.com>
2021-10-29 09:58:16 -07:00
Chuck SmileyRekiere
623f3790b9 l3_cxprofile.py white space clean up
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-10-27 15:56:30 -06:00
Chuck SmileyRekiere
1515f3701a port_probe.py pep8 cleanup (line length 150)
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-10-27 15:50:13 -06:00
Chuck SmileyRekiere
c15d0cbf0a l3_cxprofile.py changed to is None were used == , updated exceptions
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-10-27 15:41:47 -06:00
Chuck SmileyRekiere
0fe949e5f7 l3_cxprofile.py : updated column for GI
port_probe.py : report the GI (Guard Index) for reporting

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-10-27 15:27:12 -06:00
Chuck SmileyRekiere
a31be6c835 l3_cxprofile.py : added gi and caclulated mbps
port_probe.py : determining GI and calculated mbps

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-10-27 14:10:19 -06:00
Chuck SmileyRekiere
3e7908a623 l3_cxprofile.py : commented out HE status for now.
port_porbe.py : with 6Mb legacy frame
do not set the rx_nss and rx_mhz to zero to allow for
the reporting columns to be blank

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-10-27 10:58:56 -06:00
Chuck SmileyRekiere
017043b7e1 l3_cxprofile.py : updated columns for rx GI
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-10-27 10:24:57 -06:00
Chuck SmileyRekiere
1787929e37 l3_cxprofile.py : column title updated for Guard Index GI
port_probe.py : update for various porbe syntax for the rx and tx bitrate
in getting MHz values for bandwidth

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-10-27 10:21:48 -06:00