Commit Graph

201 Commits

Author SHA1 Message Date
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
Chuck SmileyRekiere
6b61d87b74 test_l3_longevity.py : removed default for eth2 as downstream port
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-06-16 12:36:38 -06:00
Chuck SmileyRekiere
6fd0ba4fda lf_check.py: notes telnet localhost 4001 (server info), localhost:8080/ for GUI info test_l3_longevity update data gathering.
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-06-04 08:51:59 -06:00
Chuck SmileyRekiere
8855c36f3e lf_report.py: added get date, test_l3_longevity: added ability to clear and read ap/stats
lf_report.py the get_date will allow for timestamps to be added
to addtional files to be stored in results

test_l3_longevity.py
Phase 2, add the abilty to clear and read the ap upload and download stats
write the output to a file in the results.
The clear takes place at the beginning of the test and reading at the end
It was unclear if the ap needed to be read on each interation
2021-06-04 07:45:12 -06:00
Chuck SmileyRekiere
aae2366cfa test_l3_longevity.py : updated comments
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-05-28 07:43:35 -06:00
Chuck SmileyRekiere
513fe08000 test_l3_longevity.py : added dataplane test between side_a eth_port and side_b eth_port
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-05-28 07:32:14 -06:00
Chuck SmileyRekiere
3740933fe8 test_l3_longevity.py : comment update for using CT714b programmable RF Attenuator
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-05-28 06:51:56 -06:00
Chuck SmileyRekiere
58a085d65c test_l3_longevity.py : added support for lf (lf_eth) type traffic
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-05-26 14:37:58 -06:00
Chuck SmileyRekiere
3ae77836ba test_l3_longevity.py : bug fix, now there is output without an AP listed
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-05-26 13:21:55 -06:00
Chuck SmileyRekiere
10a99692a7 test_l3_longevity.py : change timeout for pexpect to 1 second
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-05-21 06:37:37 -06:00
Chuck SmileyRekiere
df5296ff7c test_l3_longevity.py : polling timer resolution changed to .2 seconds
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-05-21 06:08:18 -06:00
Chuck SmileyRekiere
9ce1c5619f lf_check.py: allows for default DB then custom DB applied, test_l3_longevity.py : modified how type of service entered to help automation
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-05-19 14:39:00 -06:00
Chuck SmileyRekiere
90f5e0b155 lf_report.py : added text for html, lf_check.py added sha, test_l3_longevity.py : changed title
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-05-14 14:23:30 -06:00
Chuck SmileyRekiere
1d826bab20 test_l3_longevity.py : put full path with html and pdf output 2021-05-14 11:43:18 -06:00
Chuck SmileyRekiere
c5232c6490 test_l3_longevity.py : row needed to be split into individual elements
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-05-12 21:29:14 -06:00
Chuck SmileyRekiere
52987f1e1a test_l3_longevity.py : query every poll period
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-05-12 20:12:37 -06:00
Chuck SmileyRekiere
d701a4a0b1 test_l3_longevity.py : parsing AP output
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-05-12 20:00:23 -06:00