Commit Graph

56 Commits

Author SHA1 Message Date
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
Jed Reynolds
aa7814aa5d tracks and closes a call as within a particular duration 2018-05-01 17:11:38 -07:00
Isaac Konikoff
72f42f5ffa Fixed a couple of little bugs. 2018-05-01 16:30:18 -07:00
Isaac Konikoff
51b5edc35e Uncomment B-LOOP lf_firemod calls. 2018-05-01 15:05:17 -07:00
Jed Reynolds
383ad4d6d3 Improved randomized interpolation between row times 2018-05-01 12:49:49 -07:00
Isaac Konikoff
57e5dbdef6 Initial attempt to script wanlink value changes from a csv file. 2018-05-01 09:24:09 -07:00
Jed Reynolds
04efe8b4d1 script compares the endpoints of a voip call and points out disparity 2018-04-23 17:25:03 -07:00
Ben Greear
d4aba83e0a Add db-sorter.sh
From Brent.
2018-04-17 15:32:50 -07:00
Jed Reynolds
5adfa08273 adds time range, help text, more time syntax flexibility 2018-04-13 11:22:42 -07:00
Jed Reynolds
ede05dedcb timed wanlink script 2018-04-12 18:08:40 -07:00
Isaac Konikoff
1a996867f0 lf_auto_wifi_cap: add single quotes to --test_text and usage example 2018-02-13 11:01:35 -08:00
Jed Reynolds
cc2accdb9a lf_auto_wifi_cap: tunes timing to allow first station to be full up; whitespace; 2018-02-01 14:07:56 -08:00
Jed Reynolds
98817bd62c lf_auto_wifi_cap: adds connection to manager, renames telnet variables 2018-02-01 12:01:40 -08:00
Jed Reynolds
49d06312e6 lf_auto_wifi_cap: fixes pdu_mix parsing/formatting; adds dwell time for stations to come up; whitespace 2018-01-31 22:14:12 -08:00
Jed Reynolds
62f80b0aae lf_associate_ap: adds --bssid option for associating a station with specific AP 2018-01-25 14:12:00 -08:00
Jed Reynolds
a2526aeb5a lf_generic_ping: corrected restart to reload 2018-01-23 15:13:30 -08:00
Jed Reynolds
97adf85048 lf_generic_ping: corrected unlimited process to 65535 2018-01-23 15:10:42 -08:00
Jed Reynolds
f53192dd2c lf_generic_ping: added name option; added example of creating multiple connections per port 2018-01-23 15:06:31 -08:00
Jed Reynolds
d549adc9a8 lf_generic_ping: updates help text and comments 2018-01-23 13:44:46 -08:00
Jed Reynolds
76e082495b generic_ping: gains logic to create lfping entries for macvlans attached to a card 2018-01-17 16:10:58 -08:00
Jed Reynolds
100d7687ae generic_ping: adds notes on system limits 2018-01-17 15:39:35 -08:00
Jed Reynolds
afde488404 WIP: lf_generic_ping 2018-01-17 10:21:31 -08:00
Jed Reynolds
046a9b07f0 lf_portmod: corrects --list_ports 2018-01-17 08:42:37 -08:00
Jed Reynolds
593416b386 lf_portmod: adds --list_ports option; adds --mgr -m --resource -r option aliases 2018-01-17 08:38:21 -08:00
Jed Reynolds
6168e18047 ping: WIP collecting port info 2018-01-16 22:59:11 -08:00
Jed Reynolds
cc12b770a5 Script provides ability to batch create Generic endpoints for lfping command 2018-01-16 17:19:55 -08:00
Jed Reynolds
df0ca6ce3d improves dns arguments used by curl; refactors curl command 2017-11-09 16:46:49 -08:00
Jed Reynolds
4b23927e9d Scripts: portal-check does some basic evaluation on a station to see if it can resolve DNS, ping its gateway, and make a web request 2017-11-09 16:09:27 -08:00
Ben Greear
c0450f0c5a portmod: Update examples for setting station mode and rates. 2017-10-26 10:16:42 -07:00
Jed Reynolds
1119126ba2 wait_on_ports: batch query improvements
- querying large numbers of ports will uses cached data
- querying a batch of ports parses one show_port result
- show_port is now queried with flag 16 to avoid forcing gateway inspection
2017-10-18 13:31:43 -07:00
Jed Reynolds
8a68df33a4 wait_on_ports:
- updates options help message
- updates help exit condition
- promotes many variables to package level
- adds --use_caching, --shove_level, --batch_level options
New options are WIP
2017-10-18 11:18:56 -07:00
Jed Reynolds
41fe0661e5 Adds --help|-h options; shows usage message and exits 0 if no arguments 2017-10-16 19:00:55 -07:00
Jed Reynolds
c1a982d072 Reformats README, adds descriptions for scripts in project 2017-10-16 18:49:46 -07:00
Jed Reynolds
0a7580091a Updates lf_wifi_rest_example:
- fixes conflicting -l option, now use --log_file or --log for log files
- use -L for --load
- option -l no longer exists
- added options --help, -h to show help and exit
2017-10-12 14:17:55 -07:00
Jed Reynolds
40f405ac25 Script waits on selection of ports to have IP addresses before exiting 2017-10-10 16:26:23 -07:00
Ben Greear
1138dffc10 Use an OO framework for the GuiJson library module.
Jed's changes, with a tweak to the lf_wifi_reset_example.pl to use
the new OO methods.
2017-10-06 15:44:06 -07:00