Commit Graph

91 Commits

Author SHA1 Message Date
Jed Reynolds
37d36f12d0 new scripts 2018-08-29 14:00:44 -07:00
Jed Reynolds
7f40053705 port create and toggle test 2018-08-16 16:43:00 -07:00
Jed Reynolds
7fcc8b4e6d easy-mode script and icon for wlanpro 2018-08-15 17:26:19 -07:00
Jed Reynolds
834e5d9a2d wlanpro: updated cleanup for testcase 100 to include all upstream port connections 2018-08-15 14:43:22 -07:00
Jed Reynolds
31fd775bad port_test.pl operates faster; toggles ports 2018-08-10 17:44:53 -07:00
Jed Reynolds
0420987952 Tightens up tunings on port_test 2018-08-10 14:40:32 -07:00
Jed Reynolds
1ab2e0f91a port_test changed default host to localhost 2018-08-10 08:48:02 -07:00
Jed Reynolds
0c4fbd4c35 Json: port_test now can create a destroy and create number of ports 2018-08-09 19:04:14 -07:00
Jed Reynolds
6cf6c685e2 JsonUtils: now has working methods to submit json cli commands 2018-08-09 19:03:47 -07:00
Jed Reynolds
694adc4071 port_test.pl can now use JsonUtils.pm 2018-08-08 18:13:51 -07:00
Jed Reynolds
a3a98cda0e fixes script to properly export subroutines 2018-08-08 18:13:51 -07:00
Jed Reynolds
61cf468f8a note on better use of Exporter 2018-08-08 18:13:51 -07:00
Jed Reynolds
9d07022b75 whitespace 2018-08-08 18:13:51 -07:00
Ben Greear
79c23ed313 Support modifying IP/DHCP in wlanpro and other helper scripts.
Fix setting fixed vs IP in lf_associate as well.
2018-08-08 17:44:09 -07:00
Ben Greear
be657e72d7 wlanpro: Use 200Mbps max upload speed in bi-directional test.
And record the total time it took to run the script.
2018-08-08 15:17:37 -07:00
Ben Greear
27c4dc8e26 Add example command for wlanpro test. 2018-08-08 11:47:42 -07:00
Ben Greear
084d1745a6 Merge branch 'master' of github.com:greearb/lanforge-scripts 2018-08-08 11:45:51 -07:00
Ben Greear
05a6b909e2 wlanpro: Enable interferer test case. 2018-08-08 11:45:20 -07:00
Jed Reynolds
a1c5833a1a new testing script; new script library 2018-08-08 10:46:33 -07:00
Jed Reynolds
3b0ffd8d27 Updates to script including adding local library 2018-08-08 10:46:33 -07:00
Ben Greear
08c384f9b4 Merge branch 'master' of github.com:greearb/lanforge-scripts 2018-08-07 14:57:29 -07:00
Ben Greear
c812f3b146 wlanpro: Use longer report-timers for WCT
And update lf_auto_wifi_cap to support that as well.  This keeps us
from over-driving the LANforge so bad in the WCT test case, and gives
more reliable stats.
2018-08-07 14:56:32 -07:00
Jed Reynolds
1a1e05910f WIP improved json port testing script 2018-08-07 14:03:04 -07:00
Ben Greear
08c9b54e76 Update wlanpro test.
Better port stats parsing, better help.
Decrease requested rate for 2x2 and 1x1 since they are expected
to run slower.
2018-08-07 11:59:19 -07:00
Jed Reynolds
fca3618daf script up-down notes 2018-08-06 16:38:28 -07:00
Jed Reynolds
4b61d079d0 updates create station script to create ports in admin-down mode, then bring them up 2018-08-06 16:06:17 -07:00
Jed Reynolds
2ebe70daac updates json create port script 2018-08-03 16:54:29 -07:00
Jed Reynolds
c3e0ba9146 Importing json testing scripts 2018-08-03 15:23:44 -07:00
Ben Greear
dbae7a7c24 wlanpro: Open-code stats gathering to improve performance.
This significantly speeds up run time for this script at the cost
of a bit more code complexity in this script.
2018-07-20 13:38:24 -07:00
Ben Greear
4d3bfe4827 wlanpro: Ensure radios are back to full capacity for wifi-cap test. 2018-07-20 10:53:08 -07:00
Ben Greear
3f839a5d56 wlanpro: Clean up wifi-capacity-test generated connections.
Makes reporting faster and over-all display simpler.
2018-07-19 13:54:24 -07:00
Ben Greear
e386c4a3a0 wlan-pro: Enable wifi-capacity test.
Test-case 6 now launches a wifi-capacity test of 64 stations
on the '4a' radio.

Improve reporting summary as well.
2018-07-19 12:50:57 -07:00
Ben Greear
1add46c602 auto-wifi-cap: Support using existing station list.
This can be an easier way to drive this script from yet another
script and/or use existing stations instead of creating our own.
2018-07-19 12:50:06 -07:00
Ben Greear
179ac78524 lf-associate: Deal with wlanX names
Script was trying to make it staX instead.  Use first
station as named regardless.
2018-07-19 12:49:01 -07:00
Ben Greear
726a8f20ec wlanpro: More reporting fixes. 2018-07-18 18:08:57 -07:00
Ben Greear
a806535fc2 portmod: Fix syntax error in previous commit. 2018-07-18 18:08:45 -07:00
Ben Greear
1931e88f9e firemod: Fix stats gathering bugs, allow reading data from text file.
The stats gathering thing might introduce other bugs, but at least it
seems to work better than before.  The old regex logic was too complex
for me to follow.
2018-07-18 18:07:41 -07:00
Ben Greear
949578dff6 portmod: Don't exit after setting ifup/down.
So we can set multiple things at one time on the cmd line as expected.
2018-07-18 15:24:35 -07:00
Ben Greear
91d6959460 wlanpro: Improve reporting logic. 2018-07-18 15:17:43 -07:00
Ben Greear
4252f0eb51 firemod: Quieten debugging output. 2018-07-18 15:17:28 -07:00
Ben Greear
2221bcf61b portmod: Support reading stats from text file.
Saves requesting the data from the LANforge server in
case we already have the data stored.
2018-07-18 13:11:17 -07:00
Ben Greear
8ed7f0b1e6 lf-assoc: Improve performance, don't change mac for created sta by default
There is no need to map sta name to port-id, and that method was quite
costly since it requested IDs for all ports.  Instead, just use the
port-name, which is going to work more reliably anyway.

And, don't change MAC of already-created station unless user specifically
requests this with --change_mac
2018-07-18 08:54:23 -07:00
Ben Greear
17f6cd088b lf-associate: Fix changing encryption to open 2018-07-18 08:19:37 -07:00
Ben Greear
e0bf5401d2 wlanpro: Set stations to known state at start of test.
They might have been set to a different mode earlier.
2018-07-13 08:46:47 -07:00
Ben Greear
eedcc9a2a6 associate: use 'DEFAULT' for AP
Instead of AUTO, that is more in line with what our GUI
does.
2018-07-13 08:46:10 -07:00
Ben Greear
638fccc482 scripts: Add wlanpros test case script.
And tweak other scripts to make them work better, including taking
a lot of sleeps out of the lf_associate_ap.pl script to speed it up.
2018-07-12 16:57:46 -07:00
Jed Reynolds
aa7caa4bee lf_portmod --cli_cmd behavior now matches lf_firemod --do_cmd behavior 2018-05-09 12:04:35 -07:00
Jed Reynolds
5a1f01f517 updated disconnect time options 2018-05-02 14:12:43 -07:00
Jed Reynolds
d03f67f417 updated to use getopts for options 2018-05-02 14:01:00 -07:00
Jed Reynolds
dc2e410533 updated to track connection on B-side or end call 2018-05-02 13:27:49 -07:00