Commit Graph

170 Commits

Author SHA1 Message Date
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
Chuck SmileyRekiere
127ba41f0b test_l3_longevity.py : debugging added splitlines
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-05-12 16:11:29 -06:00
Chuck SmileyRekiere
60bc9d2bd3 test_l3_longevity.py: debugging
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-05-12 15:34:48 -06:00
Chuck SmileyRekiere
a7aece8cb1 test_l3_longevity.py : read mack
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-05-12 15:15:58 -06:00
Chuck SmileyRekiere
7804f74a65 test_l3_longevity.py : debug info
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-05-12 15:06:33 -06:00
Chuck SmileyRekiere
8f52cfa70e test_l3_longevity.py : remove band from read_ap_stats
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-05-12 14:55:44 -06:00
Chuck SmileyRekiere
91f7f645fc lf_check.py : -mgr switch does not work in subprocess to access LANForge GUI in test_l3_longevity, updated lf_check_config.ini
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-05-11 07:04:54 -06:00
Chuck SmileyRekiere
8e42bf5702 test_l3_longevity.py : bug fix only read ap if set to true
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-05-10 18:07:37 -06:00
Chuck SmileyRekiere
0b772b6644 test_l3_longevity.py update valid_endp_types
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-05-10 17:46:41 -06:00
Chuck SmileyRekiere
901ae2b7dc test_l3_longevity.py comma separator between commands, allow errors to be printed out (do not catch errors)
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-05-10 17:44:12 -06:00
Chuck SmileyRekiere
90903913f1 test_l3_longevity.py : updated for ability to automate allow comma seperators
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-05-10 15:14:23 -06:00
Chuck SmileyRekiere
47a9d7a741 test_l3_longevity.py : generate html and pdf output
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-05-07 16:04:36 -06:00
Chuck SmileyRekiere
6378ed1b9d test_l3_longevity.py : csv created in lanforge/reports-html
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-05-07 13:39:32 -06:00
Chuck SmileyRekiere
a7cf234eeb test_l3_longevity.py : removed unused code for current KPI functionality. The previous version copied to sandbox for reference.
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-05-07 07:53:42 -06:00
Chuck SmileyRekiere
b2ed9fa2e9 test_l3_longevity.py : added ap_test_mode for switching back and forth from real to bogus data
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-05-07 05:52:38 -06:00
Chuck SmileyRekiere
dda769ebaf test_l3_longevity.py : commented out some of the prints
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-05-07 05:31:53 -06:00
Chuck SmileyRekiere
f2b5113804 test_l3_longevity.py : added configuration to enable and disable reading ap
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-05-06 17:13:18 -06:00
Chuck SmileyRekiere
49602d0f1e test_l3_longevity.py : script clean up - removed code to do most / least - can be done post process 2021-05-06 15:05:31 -06:00
Chuck SmileyRekiere
43943f6327 test_l3_longevity.py : steps to make more generic, created ./sandbox/test_l3_longevity_cisco.py as a temporary holding spot. 2021-05-06 11:37:34 -06:00
Chuck SmileyRekiere
0b50251c2e test_l3_longevity.py : comments
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-05-04 13:09:43 -06:00
Chuck SmileyRekiere
99635b3de2 test_l3_longevity.py : bug fix for reading mac on interface
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-05-04 10:57:36 -06:00
Chuck SmileyRekiere
50381f849d test_l3_longevity.py : updates for temp data
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-05-04 10:03:33 -06:00
Chuck SmileyRekiere
8fffa14d68 test_l3_longevity.py : testing with bogus AP response
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-05-04 07:50:41 -06:00
Chuck SmileyRekiere
1a604e7b73 test_l3_longevity.py : adding reading the AP using pexpect
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-04-28 13:58:25 -06:00
Ben Greear
9c5a99e81f l3-longevity: Start work to parse BCM AP stats.
Work in progress, not run tested yet.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-04-23 08:12:46 -07:00
Matthew Stidham
991421a245 args.influx_bucket is None just as it should be
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-04-20 12:58:04 -07:00
Matthew Stidham
0fed7c9cc5 Do not trigger influx unles defined by the user
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-04-20 12:22:14 -07:00
Ben Greear
280099b8b2 cv-capacity: Support importing kpi.csv directly into influxdb
And update example command to what works for me on the c7-graphana
instance.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-04-17 16:18:04 -07:00
Ben Greear
643d1ebd5c l3-longevity: Report per-port throughput as well.
Summed up from connections on the ports in question.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-04-09 17:28:12 -07:00
Ben Greear
ba4212fff6 l3-longevity: Report avg latency for endpoints on a particular port.
Use endpoint EID to match Port EID so we can know which ports
endpoints belong to.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-04-09 17:12:06 -07:00
Ben Greear
39306b26a9 l3longevity: If user specifies csv outfile, use it unmodified.
Otherwise, default to something with a timestamp in it.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-04-09 16:10:10 -07:00
Ben Greear
d3beea2aa8 l3-longevity: Support writing out kpi csv file
For those not depending on graphana/influx

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-04-09 15:47:00 -07:00