Commit Graph

2722 Commits

Author SHA1 Message Date
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
anjali
2341f57b39 Added method for objective and change the image name banner.png 2021-03-22 04:52:03 +05:30
anjali
b60b5e8ddd remove files 2021-03-20 16:03:16 +05:30
anjali
b9a9507fb2 removing files 2021-03-20 16:00:10 +05:30
anjali
944992b33a changes in iperf cmd 2021-03-20 15:25:02 +05:30
Logan Lipke
8bddd36eb4 Updated realm methods 2021-03-19 17:57:44 -07:00
Matthew Stidham
67fc65486e do not extend column names if port_MGR_COLS
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-03-19 13:30:22 -07:00
Matthew Stidham
cf593ed4f4 Improved Port manager monitoring functionality
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-03-19 13:28:03 -07:00
Matthew Stidham
8f0ebf3637 Simpler csv writing application and pushing system information to a text file
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-03-19 13:17:04 -07:00
Dipti
4d526958e3 removed unwanted installs
Signed-off-by: Dipti <dipti.dhond@candelatech.com>
2021-03-18 15:35:09 -07:00
Matthew Stidham
3574f94987 remove halt_on_error from qvlan_profile
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-03-17 19:10:26 -07:00
Matthew Stidham
6166a9cc72 Fix fileio and qvlan errors
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-03-17 18:32:25 -07:00
Matthew Stidham
e4cd74190a Fix halt_on_error mistakes
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-03-17 16:50:12 -07:00
Matthew Stidham
e1a865f946 Fixing exit_on_error mistakes
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-03-17 16:14:03 -07:00
Matthew Stidham
e000571594 Fixing halt_on_error errors
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-03-17 15:48:42 -07:00
Matthew Stidham
052319d2ce Remove exit_on_error
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-03-17 15:19:34 -07:00
Matthew Stidham
3cc6bf099a Remove halt_on_error from realm
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-03-17 14:28:11 -07:00
Matthew Stidham
519cd785cb Remove halt on error from all inheritors of realm
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-03-17 14:26:06 -07:00
Matthew Stidham
7bede86c9e Check to make sure an NFS file share is mounted
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-03-17 12:55:24 -07:00
Matthew Stidham
3a0cfc04c3 Fix formatting error
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-03-17 11:08:00 -07:00
Chuck SmileyRekiere
e29698886e initial commit of report library
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-03-17 10:15:32 -06:00
anjali
404c446254 Add Netgear Clickthru captive portal and Iperf Task
-modify netgear_Iperf_test.py
2021-03-17 05:14:07 +05:30
anjali
76cf62b747 Add Netgear Clickthru captive portal and Iperf Task 2021-03-17 05:14:07 +05:30
Matthew Stidham
2614cec0e6 Didn't mean to commit this file
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-03-16 14:42:18 -07:00
Matthew Stidham
768e3ec2cb Fix typo
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-03-16 14:40:57 -07:00
Matthew Stidham
dc938a9603 Fixed create_qvlan.py script
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-03-16 14:33:51 -07:00
Matthew Stidham
ada88a0bc2 The DHCP flag was in the wrong order in the script. It has to be before the request is sent.
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-03-15 15:56:27 -07:00