Commit Graph

181 Commits

Author SHA1 Message Date
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
erinnerim
3b81071aa7 importlib refactor test_l3_longevity.py 2021-09-10 15:35:45 -07:00
Chuck SmileyRekiere
05a419315a test_l3_longevity.py : modified to be a float minus a float
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-09-07 14:57:08 -06:00
Matthew Stidham
fe861156cc Refactoring code so that it refers to the new RecordInflux script
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-09-01 10:42:14 -07:00
Matthew Stidham
40fde97861 Major Grafana Dashboard script restructuring
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-08-31 15:55:36 -07:00
Chuck SmileyRekiere
2f85d4dae5 test_l3_longevity.py : add debug code for xtop
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-08-30 15:40:01 -06:00
Chuck SmileyRekiere
b6a178a595 test_l3_longevity.py : added comments on the interface to query
wl -i <5g interface> bs_data  ,

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-08-30 15:24:36 -06:00
Chuck SmileyRekiere
2f3ce5ae14 test_l3_longevity.py : initial sta_name set to no_station so will not match
station names indirectly

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-08-24 19:31:28 -06:00
Chuck SmileyRekiere
c35d75166a test_l3_longevity.py : getting the upload and download per port
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-08-24 18:18:05 -06:00
Chuck SmileyRekiere
a74376ab8d test_l3_longevity.py : ul and dl per port
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-08-24 17:34:58 -06:00
Chuck SmileyRekiere
ace6de3140 test_l3_longevity.py : update logging
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-08-24 16:03:02 -06:00
Chuck SmileyRekiere
25cd56a2e7 test_l3_longevity.py : debugging for -B csv reporting
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-08-24 15:46:02 -06:00
Chuck SmileyRekiere
caa3b17354 test_l3_longevity.py : debug information on upling
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-08-24 12:03:00 -06:00
Chuck SmileyRekiere
15b9cb916a test_l3_longevity.py : debug code for -B side not reporting traffic
lf_check.py : meta-data formatting

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-08-20 15:51:29 -06:00
Chuck SmileyRekiere
d2796c9a93 test_l3_longevity.py : debug information
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-08-19 16:53:28 -06:00
Chuck SmileyRekiere
803485641b lf_check.py : saving meta data file
test_l3_longevity : adding per endpoint rx_rate rx_rate_ll rx_pkts_ll

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-08-19 16:29:44 -06:00
Chuck SmileyRekiere
42c6aa79fb test_l3_longevity.py : changed ll to LL
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-08-18 07:45:09 -06:00
Chuck SmileyRekiere
91ba0a5cc6 test_l3_longevity.py : save the LL values for ul and dl
ct_us_001_tests.py : updated formatting

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-08-18 07:30:22 -06:00
Chuck SmileyRekiere
ae34ed28bc test_l3_longevity.py used more standard config switch for lfmgr
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-08-17 18:29:21 -06:00
Chuck SmileyRekiere
06459ebd8f test_l3_longevity.py : bug fix, updated to use ap_stat_2g from ap_stat
when reading the ap

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-08-07 06:42:42 -06:00
Chuck SmileyRekiere
feb8594abd test_l3_longevity.py : need to keep track if the mac is found
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-07-22 16:24:57 -06:00