Commit Graph

2748 Commits

Author SHA1 Message Date
Chuck SmileyRekiere
4f7154b881 lfcli_base.py: added success method that does not exit to allow for report generation from script after success
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-04-07 05:36:18 -06:00
Chuck SmileyRekiere
9e675065d1 test_ipv4_variable_time.py: update report summary comment
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-04-07 05:07:24 -06:00
Chuck SmileyRekiere
f2212a2be2 test_ipv4_variable_time.py: Test finishes print where Report Data stored, lf_ftp_test.py: changed permissions
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-04-07 04:48:34 -06:00
Logan Lipke
f6d8e6463e Script reporting can now use custom report file & path 2021-04-06 17:57:52 -07:00
Ben Greear
42d9f4375e variable-time: Remove redundant assignment.
Variable was over-written below, so remove the first assignment.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-04-06 16:38:37 -07:00
Matthew Stidham
9c585d9bfc Better way of calling influx library
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-04-06 14:31:39 -07:00
Matthew Stidham
13c08a7a76 Properly report influx data in sta_connect2.py
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-04-06 14:21:29 -07:00
Matthew Stidham
bdb00daf6a correct url in influx.py
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-04-06 13:19:57 -07:00
Matthew Stidham
bf57a78c8c Add optional influx database monitoring to sta_connect2.py
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-04-06 12:13:58 -07:00
Ben Greear
e776758484 csv-convert: Fix typo.
Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-04-06 08:31:11 -07:00
Chuck SmileyRekiere
fa213d807a csv_convert.py : defaulted to outfile
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-04-06 06:19:36 -06:00
Chuck SmileyRekiere
c4527011bf csv_convert.py : print the infile, outfile(xlsx), outfile(csv)
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-04-06 06:08:10 -06:00
Chuck SmileyRekiere
e65a8ca606 csv_convert.py commented out debug prints
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-04-06 06:00:41 -06:00
Chuck SmileyRekiere
456590e360 intitial commit csv_convert.py
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-04-06 05:59:45 -06:00
Jed Reynolds
2be72140c9 adjust_apache.pl: fixes printing more than one copy of the current management hostname
This was happening when a unit was getting moved between networks and a totally different IP was found for it

Signed-off-by: Jed Reynolds <jed@candelatech.com>
2021-04-05 17:02:48 -07:00
Jed Reynolds
8f8b50ecfe adjust_apache.pl: fixes GetOpt arguments to behave better under F24 and earlier
Signed-off-by: Jed Reynolds <jed@candelatech.com>
2021-04-05 17:02:48 -07:00
lanforge
56aaff06dd Download test initial commit
Signed-off-by: lanforge <stidmatt@gmail.com>
2021-04-05 15:28:48 -07:00
lanforge
8e870862d9 Allow a user to gather data from only select variables
Signed-off-by: lanforge <stidmatt@gmail.com>
2021-04-05 12:38:15 -07:00
lanforge
430c5b2ad0 Create influx.py in py-json and import it into recordinflux.py
Signed-off-by: lanforge <stidmatt@gmail.com>
2021-04-05 12:18:40 -07:00
Chuck SmileyRekiere
575840d33f initial commit: lf_ftp_test.py ftp_html.py (using current reporting)
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-04-03 11:03:02 -06:00
Matthew Stidham
f0b6e497ec Create influx recording script
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-04-02 17:14:19 -07:00
Chuck SmileyRekiere
62e77a0e9c gen_cxprofile.py : removed comments
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-04-01 16:13:50 -06:00
Chuck SmileyRekiere
2d7255b971 NETGear : gen_cxprofile.py : added parse_command_gen and create_gen
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-03-31 11:18:35 -06:00
Chuck SmileyRekiere
e0f745c796 l3_cxprofile2.py : added create_cx , Netgear specific
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-03-31 08:00:11 -06:00
Chuck SmileyRekiere
9fdcd953ab NETGEAR: multicast_profile.py : removed hard coded values
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-03-31 07:27:06 -06:00
Chuck SmileyRekiere
6f4c9da351 NETGEAR: http_profile.py : updated for upload 2021-03-31 06:41:06 -06:00
Isaac Konikoff
444767f3f7 replace 'expr length' with awk for cross platform compatibility
Signed-off-by: Isaac Konikoff <konikofi@candelatech.com>
2021-03-30 10:17:25 -07:00
Isaac Konikoff
9c3fcd3b4d change rpm check to use 'which' and added tshark in dependency check
Signed-off-by: Isaac Konikoff <konikofi@candelatech.com>
2021-03-30 09:30:19 -07:00
Chuck SmileyRekiere
40639cee8e lf_graph.py created , updates to lf_report.py, lf_report_test.py
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-03-30 07:57:32 -06:00
anjali
2674f3db4d Added method for objective and change the image name banner.png
-change size of bar chart
2021-03-30 18:46:46 +05:30
Chuck SmileyRekiere
eb495d49e0 report_library.py to lf_report.py
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-03-29 17:13:18 -06:00
Jed Reynolds
878cbe4009 adjust_apache: detects and uses colordiff if available
Signed-off-by: Jed Reynolds <jed@candelatech.com>
2021-03-26 15:59:07 -07:00
Ben Greear
4338979ab3 Merge branch 'master' of github.com:greearb/lanforge-scripts 2021-03-26 15:49:22 -07:00
Ben Greear
3b9f323502 wifi-diag: Better handle invalid block-ack value.
warn() exited, so just print a warning and add in a dummy value.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-03-26 15:48:32 -07:00
Matthew Stidham
6593090a8c Better logic to determine which packages are installed
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-03-26 14:01:54 -07:00
Ben Greear
0521f1b063 Merge branch 'master' of github.com:greearb/lanforge-scripts 2021-03-26 13:14:13 -07:00
Ben Greear
5d3f1bdf59 wifi-diag: Protect against some div-by-zero
In case some pkt counters are zero.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-03-26 13:13:51 -07:00
anjali
ec95c5e4c2 Added method for objective and change the image name banner.png
added bar chart for multiple category
2021-03-26 10:47:50 +05:30
Ben Greear
bed6ff690d wifi-diag: Add histogram for encoding types.
HE_SU, OFDMA, VHT, etc.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-03-25 17:24:37 -07:00
Ben Greear
7d4562af3a wifi-diag: Don't show any text for emtpy graphs.
Cleans up the html output a bit.  Add some details on
the differen trigger-types as well.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-03-24 17:26:52 -07:00
Matthew Stidham
335fb0a768 Check to make sure libraries are installed, quit on failure
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-03-24 14:15:54 -07:00
Ben Greear
a0102f4360 wifi-diag: Add graph for power-save wake/sleep state.
This gives at least some idea what PS is doing.  It would be good
to add detailed checks for duration in/out of sleep, as well as check
for AP sending frames to a sleeping STA.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-03-24 13:21:21 -07:00
Matthew Stidham
980a9435d6 Adding missing dependency to update_dependencies
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-03-24 10:05:04 -07:00
Matthew Stidham
952bab4acb Making it so customers can use sta_connect_example, fixing a github issue report.
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-03-24 10:03:53 -07:00
Ben Greear
86b30dd466 Merge branch 'master' of github.com:greearb/lanforge-scripts 2021-03-24 06:55:43 -07:00
Ben Greear
235839a4f4 wifi-diag: Graph trigger type number over time.
Type 0 appears to be OFDMA related, for instance.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-03-24 06:55:02 -07:00
Ben Greear
4d4d1d9e0b wifi-diag: Show basic trigger RU Alloc over time graph.
I believe this will show OFDMA ru allocation over time.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-03-24 06:29:37 -07:00
Ben Greear
bcd03aa3e5 wifi-diag: Parse sub-type for trigger frames.
And add in BSS color graphs.
Report ack-but-not-captured in the rx pkt type histograms.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-03-24 04:58:21 -07:00
Ben Greear
55489b42c0 wifi-diag: Fix rate decoding, fix perl include path.
The regex needed tweaking for Fedora-32 (and/or possibly just HE
frames).

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-03-23 15:44:21 -07:00
Matthew Stidham
7462684520 Create a flag which makes it easier to automate lf_sniff by adding a custom name and add a test to regression
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-03-23 13:42:19 -07:00