Commit Graph

167 Commits

Author SHA1 Message Date
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
Chuck SmileyRekiere
bc92fe9298 Updated to 2g defaults
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-07-21 05:35:02 -06:00
Chuck SmileyRekiere
4caf6c5301 test_l3_longevity.py : updated allow for 5g and 2.4g concurrently
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-07-19 18:17:34 -06:00
Matthew Stidham
7e3575b481 Removing LFClibase from influx2 script
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-07-08 11:47:17 -07:00
Chuck SmileyRekiere
2c87df6ec3 test_l3_longevity.py : when running a test suite put the results with the
other results from the test suite

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-07-05 08:59:31 -06:00
Chuck SmileyRekiere
4b8965a1f2 test_l3_longevity.py : updated example for using --ap_ofdma_stats
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-07-05 07:26:21 -06:00
Chuck SmileyRekiere
48102aca66 test_l3_longevity.py : bug fix extra command left in
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-07-05 07:04:46 -06:00
Chuck SmileyRekiere
3b774cc2ea test_l3_longevity.py : capture the 5 and 2.4 umsched and msched
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-07-05 06:51:21 -06:00
Chuck SmileyRekiere
e9eda09d5b test_l3_longevity.py : check ap_ofdma 5g stats : wl -i wl1 muinfo -v
and ap_ofdma 2.4g stats : wl -i wl0 muinfo -v  and sor to a file

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>

# Conflicts:
#	py-scripts/test_l3_longevity.py
2021-07-05 06:24:16 -06:00
Chuck SmileyRekiere
45cab513bc test_l3_longevity.py : add channel utilization to the statistics
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-07-03 09:04:33 -06:00
Chuck SmileyRekiere
617bac679c test_l3_longevity.py : added debugging for channel_utilization
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-07-03 08:58:09 -06:00
Chuck SmileyRekiere
9d5f78e70f test_l3_longevity.py: turn off some of the print statements
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-07-03 08:51:32 -06:00
Chuck SmileyRekiere
71815a15cb test_l3_longevity.py : added channel utilization
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-07-03 06:55:19 -06:00
Chuck SmileyRekiere
6db0c5721b test_l3_longevity.py : On AP: No stations are currently associated.
No stations are currently associated, causes an exception when reading
the AP for the MAC address.

There are timing conditions when reading an AP/DUT.
The state of the DUT is read from serial, ssh, Telnet. The script expects
the AP/DUT in a specific state.  The DUT state is not guaranteed.
What may help is for the customer API to interface to the Device Under Test
So as to isolate these timing issues and do log scraping for the correct
Response.
2021-06-23 06:28:47 -06:00
Chuck SmileyRekiere
aa5fd50be6 test_l3_longevity.py : fixed path for ap_msched.txt
The path was being added twice

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-06-18 13:00:51 -06:00