Commit Graph

201 Commits

Author SHA1 Message Date
Matthew Stidham
4e0730126d test_l3_longevity: Fix InfluxRequest import
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-12-06 17:30:13 -08:00
Matthew Stidham
5b0f6cfc59 test_l3_longevity: Fix undefined variables
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-11-29 14:50:14 -08:00
Matthew Stidham
a29d582e89 test_l3_longevity: Use set literal when possible
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-11-29 14:32:51 -08:00
Matthew Stidham
2a12e63914 test_l3_longevity: Remove unused variables
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-11-29 14:31:45 -08:00
Matthew Stidham
eaaed43f1e test_l3_longevity: Use the staticmethod class where relevant
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-11-29 14:29:53 -08:00
Matthew Stidham
f6f63f2816 test_l3_longevity: Fix whitespace
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-11-29 14:28:23 -08:00
Chuck SmileyRekiere
9a66e91fde test_l3_longevity.py added comments for the layer3_cols flags
lf_qa.py comments updates for sub-tests

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-11-29 15:20:41 -07:00
Chuck SmileyRekiere
b8a644895e test_l3_longevity.py : changed port_data variable from p -> port_data
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-11-29 15:20:40 -07:00
Chuck SmileyRekiere
fe0b2b5c58 test_l3_longevity.py : updated pdf report to lanscape
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-11-19 15:02:59 -07:00
Chuck SmileyRekiere
55db4b8b96 test_l3_longevity.py : pass in the dut information
lf_qa.py : bug fix for serial number

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-11-19 13:35:12 -07:00
Matthew Stidham
462e47d5b8 test_l3_longevity: Remove invalid comparisons
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-11-16 11:05:42 -08:00
Chuck SmileyRekiere
980101dabc test_l3_longevity.py - update for making the index.html
lf_report.py - update method for index.html

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-11-10 16:02:08 -07:00
Chuck SmileyRekiere
28280c3f6d pep8 compliance
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-11-10 14:15:14 -07:00
Chuck SmileyRekiere
5ad97eb619 test_l3_longevity.py : pep8 cleanup
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-11-10 11:55:29 -07:00
Chuck SmileyRekiere
b60313457e test_l3_longevity.py : add ability to pass wifi_settings per radio
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-11-10 08:04:24 -07:00
Matthew Stidham
78fdf6551f Revert "Fix test_l3_longevity whitespace errors"
This reverts commit d16bdd9f7a.
2021-11-09 19:00:45 -08:00
Matthew Stidham
098c0398ba Revert "Fix test_l3_longevity regressions and pending problems"
This reverts commit cbe5286f83.
2021-11-09 19:00:28 -08:00
Matthew Stidham
cbe5286f83 Fix test_l3_longevity regressions and pending problems
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-11-09 18:54:46 -08:00
Matthew Stidham
d16bdd9f7a Fix test_l3_longevity whitespace errors
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-11-09 17:30:23 -08:00
Chuck SmileyRekiere
86bb4fa42c test_l3_longevity.py : updated destination so --mgr and --lfmgr added dest='lfmgr'
updated the scripts tesing to allow for looped tests.

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-11-08 10:58:58 -07:00
Chuck SmileyRekiere
89d8baee94 lf_cleanup.py iterates over the individual cxs, endp, and stations
test_l3_longevity.py : comment on channel width

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-11-03 08:02:46 -06:00
Chuck SmileyRekiere
1dadbc3fc3 test_l3_longevity.py : remove the mmu field
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-10-28 15:05:33 -06:00
Chuck SmileyRekiere
03bbf60634 test_l3_longevity.py : initialize all of the variables to avoid unintialized
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-10-25 15:06:20 -06:00
Chuck SmileyRekiere
2978c95069 test_l3_longevity.py , initialize the mac_found_ul
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-10-25 09:11:56 -06:00
Chuck SmileyRekiere
80c49a8742 test_l3_longevity.py : updated details
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-10-22 13:04:09 -06:00
Chuck SmileyRekiere
9ae874fe97 test_l3_longevity.py, updated to report the number of stations on side a
the side b (eth) is not in the station count.

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-10-22 11:12:26 -06:00
Chuck SmileyRekiere
d529fcb741 lf_kpi_csv.py , test_l3_longevity.py : bug fix test-details is test details
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-10-21 14:55:56 -06:00
Chuck SmileyRekiere
91ca63f497 lf_kpi_csv.py : path output fix
test_l3_longevity.py : output kpi path
ct_us_001_test.json : kpi to database

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-10-21 13:55:54 -06:00
Chuck SmileyRekiere
701623c829 lf_kpi_csv.py updating kpi.csv class to be used as a library
test_l3_longevity.py : updated for using the lf_kpi_csv.py class
for reporting kpi.csv data

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-10-21 13:11:25 -06:00
Chuck SmileyRekiere
7bbfa394ca test_l3_longevity.py : add reading ul - uplink - rx_report from AP,
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-10-19 15:26:38 -06:00
Chuck SmileyRekiere
5bc581eacd test_l3_longevity.py : column headings to differciate what is read from
bs_data,  Also to differciate between eventually have rx_report

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-10-19 10:04:17 -06:00
Chuck SmileyRekiere
95f982152d test_l3_longevity.py added rx_report fake data
Colsolidated how the column lengths are determined by
self.ap_stats_col_titles

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-10-19 07:15:49 -06:00
Chuck SmileyRekiere
68244264a1 test_l3_longevity.py : generic methods for getting fake AP data
This code will eventually be moved to an AP class in a separate file.

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-10-19 06:22:32 -06:00
Chuck SmileyRekiere
5237aec5f1 test_l3_longevity.py update for ap_test mode
added test_l3_longevity_beta.py to sandbox for script restructuring.

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-10-18 11:22:58 -06:00
Chuck SmileyRekiere
b7f268c36d test_l3_longevity.py : white space updates
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-10-14 16:59:20 -06:00
Chuck SmileyRekiere
635d02d824 test_l3_longevity.py : the one second timer was correlated to the polling
interval,  when the polling is changed the the interval changed.
This will need to be made more robust.

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-10-14 16:49:53 -06:00
Chuck SmileyRekiere
a243e95707 test_l3_longevity.py : added back in the port reset code there will be
another commit after more testing to add help
ct_us_001_tests.json updated to run reset test in test_l3_longevity.py

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-10-14 15:24:24 -06:00
Chuck SmileyRekiere
13a28c7b55 test_l3_longevity.py : white space only , pep8, line length 150
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-10-12 11:38:39 -06:00
Chuck SmileyRekiere
6846b2a119 test_l3_longevity.py : added 6g functionality
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-09-29 17:08:32 -06:00
Matthew Stidham
e6cf6b9337 1. Create pandas_extensions.py
2. Remove unused imports

Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-09-21 11:11:04 -07:00
Chuck SmileyRekiere
d10f9f505c test_l3_longevity : logging for exception on reading xtop from the AP
json test updates for AP Auto

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-09-18 04:02:28 -06:00
Matthew Stidham
36400e003d Making it so that lanforge-scripts can work if the repository isn't named exactly the same way
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-09-17 15:29:15 -07:00
Chuck SmileyRekiere
b8fa4377a7 test_l3_longevity.py : added module call to lf_report back in
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-09-17 07:01:47 -06:00
Chuck SmileyRekiere
f98ae6631f test_l3_longevity.py : used meld to bring back low level changes
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-09-17 06:53:39 -06:00
Chuck SmileyRekiere
37f9163cb7 test_l3_longevity.py : added --lfmgr to be more standard
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-09-16 22:40:50 -06:00
Chuck SmileyRekiere
e7dc0964f0 ct_us_001_tests.json : AP test ran
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-09-16 22:36:23 -06:00
erinnerim
1d7578251c Updates to import statements:
- Import importlib, os, and sys to each python script.
 - Append "lanforge-scripts" root directory to the system path, allowing each script to be called from an antecedent directory. e.g.
if 'lanforge-scripts' not in sys.path:
    sys.path.append(os.path.join(os.path.abspath(__file__ + "../../../../../")))
 - All statements of the form 'from <module> import <class>' replace with:
<module> = importlib.import_module("lanforge-scripts.<directory>.<module>")
<class> = <module>.<class>
2021-09-15 16:17:16 -07:00
erinnerim
d6592d4fd3 Revert "importlib refactor test_l3_longevity.py"
This reverts commit 3b81071aa7.
2021-09-10 17:58:21 -07:00
erinnerim
03a4f95153 Revert "importlib refactor ../ typo"
This reverts commit 34afad944f.
2021-09-10 17:57:48 -07:00
erinnerim
34afad944f importlib refactor ../ typo 2021-09-10 15:35:45 -07:00