Commit Graph

37 Commits

Author SHA1 Message Date
Jed Reynolds
da4d6cbe3a LANforge/Utils: gains mac_add() routine; requires Math::BigInt. Tested on F24 2020-04-29 00:44:58 -07:00
Jed Reynolds
845bbf6ba9 Utils: adds mac_add and uses it in lf_associate_ap 2020-04-28 23:07:16 -07:00
Ben Greear
10c706e4ec lf_testmod: Make sure settings are flushed.
Utils:  Add option to doCmd to allow waiting for arbitrary text,
that way we can ignore intervening 'RSLT' lines when doing batched
cmds.
2020-04-24 12:36:22 -07:00
Ben Greear
eca5e74ab1 scripts: Improve gui automation scripts. 2020-04-15 16:14:59 -07:00
Jed Reynolds
4c77cd75b6 Utils: adds special handling patterns for FileEndpoint patterns 2020-04-09 21:29:01 -07:00
Jed Reynolds
7370c5502e Utils: adds exceptional parsing phrases for L4Endp 2020-04-09 21:17:03 -07:00
Jed Reynolds
d16c42603f Utils: fixes some number parsing 2020-03-23 22:01:30 -07:00
Jed Reynolds
e3f670abe3 Utils: adds expand_unit_str() 2020-03-23 20:25:42 -07:00
Jed Reynolds
9467cca9f5 Utils: logs splits up Shelf line 2020-03-23 17:54:08 -07:00
Jed Reynolds
8164dff02a Utils: fixes getting members of a group 2020-03-18 22:37:02 -07:00
Jed Reynolds
9084131cdc Utils: fixes broken waitfor that didnt collect nc_show_ports output; improves debug output, improves split for get_eid_map 2020-03-18 16:21:34 -07:00
Ben Greear
e34f509d9c sniff: Make sure monitor port is not phantom before we start the sniff.
And fix portmod showing Current flags.
2020-03-17 12:48:41 -07:00
Ben Greear
7f418038dc scripts: Use new key:val parsing logic for port stats too. 2020-03-16 09:56:13 -07:00
Jed Reynolds
6f1c2fb871 Utils: fixes trailing space at end of command 2020-03-13 15:56:56 -07:00
Ben Greear
bb9f3f3d8c tos-test: Fix latency normalization logic, improve tos-test py
Seems to work OK now.
2020-03-13 14:53:14 -07:00
Ben Greear
b7b7a95bdd scripts: Fix firemod hash output to be like I wanted.
Fix latency normalization math.
Fix tos python script to work better.
2020-03-13 12:13:57 -07:00
Jed Reynolds
a43733616b Utils: timeouts were too short, now closer to what they were 2020-03-12 18:24:59 -07:00
Jed Reynolds
cb35ebf99d Utils: adds methods to consistently turn show_X rows into hashmaps 2020-03-11 19:06:36 -07:00
Ben Greear
031358ca69 Merge branch 'master' of github.com:greearb/lanforge-scripts 2020-03-10 17:18:50 -07:00
Ben Greear
b8c8f24f27 Fix usage of telnet so that we do not keep sending useless newlines. 2020-03-10 17:18:04 -07:00
Jed Reynolds
1845ed5e76 Utils: inevitable whitespace conversion 2020-03-10 16:38:05 -07:00
Ben Greear
a7e74632c3 Merge branch 'master' of github.com:greearb/lanforge-scripts 2020-03-10 16:27:21 -07:00
Ben Greear
529ec8780f scripts: Add logic to normalize for negative latency. 2020-03-10 16:26:56 -07:00
Jed Reynolds
7c057d6593 Utils: fixes sleep_ms, sleep_sec so can be called as $self->sleep_X(); fixes test_groups(), group_items() 2020-03-10 14:19:25 -07:00
Ben Greear
8505273a2e scripts: Initial work for the tos/latency script.
And fixes to lf_firemod for endp creation.
2020-03-10 13:32:16 -07:00
Ben Greear
238792e7d4 Add logic to parse and normalize latency buckets and similar buckets. 2020-03-10 06:41:21 -07:00
Jed Reynolds
7a65069b30 Utils: getting test group items 2020-03-09 14:44:45 -07:00
Ben Greear
a7777555d2 Utils: Make sure the connect() logic disables brief output mode.
Otherwise, we hang waiting for RSLT, which is not sent in brief mode.
2020-03-09 14:30:03 -07:00
Jed Reynolds
bb874bc367 Utils: adds test_groups() 2020-03-05 23:35:04 -08:00
Jed Reynolds
d85fd85b59 Utils: a version of cx_for_group 2020-03-05 19:57:54 -08:00
Jed Reynolds
9e657cd66d Utils: subroutines work better by defining anonymous references at the start 2020-03-03 21:38:36 -08:00
Jed Reynolds
a716e240e3 Utils: added get_eid_map() and ports_on_radio() 2020-03-03 11:26:22 -08:00
Jed Reynolds
cccdbf2217 Utils: fixes utils->connect() method; fixes telnet hang on start 2020-02-18 20:41:54 -08:00
Jed Reynolds
72129d7aa9 Utils gains connect() to centralize telnet logic 2020-02-17 15:38:17 -08:00
Jed Reynolds
e460315b80 LANforge/Utils adds sleep_ms() sleep_sec() functions that use select() 2020-02-11 14:30:03 -08:00
Jed Reynolds
75678eafed Utils.pm: Adds diagnostic output when encountering blank/undef argument 2019-03-27 15:35:38 -07:00
Ben Greear
f3198d23c3 Add LANforge perl modules. 2017-10-06 14:01:49 -07:00