994 Commits

Author SHA1 Message Date
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
Shivam Thakur
0ba5abbaf0 try except added in cv test manager 2021-10-30 13:59:11 +08: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
Chuck SmileyRekiere
422b2ab577 port_probe.py commented out probe print
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-10-27 09:44:59 -06:00
Chuck SmileyRekiere
eb3b831f8b port_probe.py updated for MCS values greater then 7
l3_csprofile.py removed the guard interval column for now

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-10-27 08:04:27 -06:00
Chuck SmileyRekiere
55ad888bb1 l3_cxprofile.py : alias code, added put in exception of the number of
expected stations does not match the number of stations present.

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-10-27 07:19:55 -06:00
Chuck SmileyRekiere
7e86d436de port_probe.py - HT derive NSS from mcs values
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-10-27 07:02:41 -06:00
Chuck SmileyRekiere
a1218e82ec l3_cxprovile.py, port_probe.py : updates for rx side
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-10-26 17:20:16 -06:00
Chuck SmileyRekiere
563d44e39e l3_cxprofile.py : added the calculated TX
port_probe.py : added the calculated TX

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-10-26 15:46:50 -06:00
Chuck SmileyRekiere
d582c8399a port_probe.py : tx side reading data from probe and doing HT calculations
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-10-26 14:48:53 -06:00
Chuck SmileyRekiere
75245b56fb port_probe.py : added HT equation , removed spreed sheet
ct_us_001_scripts.json updated

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-10-26 12:52:10 -06:00
Chuck SmileyRekiere
5d22de3824 port_probe.py : added HT equation
ct_us_001_scripts.json updated ip_variable_time.py test

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-10-26 07:11:00 -06:00
Chuck SmileyRekiere
cdccc492d9 py-json/port_probe.py :
py-scripts/port_probe.py
py-script/test_ip_variable_time.py
Starting point from previous work
2021-10-25 17:51:35 -04:00