Commit Graph

512 Commits

Author SHA1 Message Date
Ben Greear
eba4b5f74b Improve cisco power automation scripts.
Add summary csv output, automatically create layer-3 connection,
rename some headers to match what customer requested.
2020-01-02 16:34:54 -08:00
Jed Reynolds
7533af1798 create_wanlink.py: removes eid from examples, wanlink eids are confusing because theyre backwards 2020-01-02 14:49:25 -08:00
Jed Reynolds
ce8545e7f4 wanlink python: correctes while clause 2020-01-02 14:26:29 -08:00
Ben Greear
978610f695 Support abgn band 2020-01-02 12:34:04 -08:00
Jed Reynolds
f8f91e52a4 Json: create_wanlink.py example script fully working demonstrating listing creation and toggling 2019-12-31 12:58:38 -08:00
Jed Reynolds
8a8211fdad Json: improves error output for requests 2019-12-31 12:57:55 -08:00
Ben Greear
a940b32e5f Add TODO comments. 2019-12-19 14:37:55 -08:00
Ben Greear
f2209a5c75 cisco: Tweaks to output. 2019-12-18 13:59:38 -08:00
Ben Greear
6b69255e8d cisco-ctl: Support different NSS by setting LANforge radio accordingly. 2019-12-18 09:54:46 -08:00
Ben Greear
04c1f591d3 cisco: Calculate expected values and difference from reported values. 2019-12-17 17:20:33 -08:00
Ben Greear
2da4363a28 Merge branch 'master' of github.com:greearb/lanforge-scripts 2019-12-17 16:56:53 -08:00
Ben Greear
0ef191e9c5 Cisco power script works somewhat now. 2019-12-17 16:56:35 -08:00
Jed Reynolds
8ef9172e17 create_sta: whitespace 2019-12-17 16:31:07 -08:00
Jed Reynolds
d00d8e7e21 create_wanlink python script can create and modify wanlinks but not display them. Need to create JSON handler for WAN Links 2019-12-17 16:31:07 -08:00
Ben Greear
a766a4ddfb Initial attempt at power report control script. 2019-12-16 20:44:16 -08:00
Ben Greear
f2a2bfed1b cisco-py: Improve logging handling, print output in human readable format
Output interprets newlines as such.
2019-12-16 20:13:11 -08:00
Ben Greear
8333416479 Add another expect pattern to catch when we loose connection. 2019-12-15 08:22:50 -08:00
Ben Greear
e7a228bc52 Improve cisco ctrl script and let lf_portmod.pl work from CWD 2019-12-14 15:14:06 -08:00
Jed Reynolds
00d0e50351 cisco-wifi-ctl: working on getting basic commands to complete 2019-12-11 19:15:05 -08:00
Jed Reynolds
bd660c677e cisco_wifi_ctl: logging fixed, able to login, issue command, logout 2019-12-11 15:27:42 -08:00
Jed Reynolds
5cfdc7d3c3 cisco_wifi_ctl script started, should accept either telnet or ssh, refinement needed 2019-12-10 17:15:13 -08:00
Jed Reynolds
0654205380 har-to-portal: able to print out data for requests in reasonable perl format 2019-12-02 23:08:39 -08:00
Jed Reynolds
2a64d0867b har-to-portal reads post data 2019-12-02 19:09:51 -08:00
Jed Reynolds
5457b84961 har-to-portal.pl able to parse HAR file 2019-12-02 18:13:28 -08:00
Jed Reynolds
f472404618 script_test: port_down_up_down_lfportmod test passes 2019-11-27 15:43:32 -08:00
Jed Reynolds
afb66af9be lf_portmod: fixes ambitious show_port error, now does set_ifstate as requested 2019-11-27 15:42:04 -08:00
Jed Reynolds
8f0b41d52f JsonUtils: quieter 2019-11-27 15:03:07 -08:00
Jed Reynolds
ee750349d9 script_test: got port_down_up_down_jsonutils to pass 2019-11-27 15:02:47 -08:00
Jed Reynolds
5b094d7783 LANforge/Test.pm: fixes undef self reference for Test param 2019-11-27 14:25:58 -08:00
Jed Reynolds
b74f973251 script_test: lf_portmod calls allow passing port switch 2019-11-27 13:20:46 -08:00
Jed Reynolds
73353096b8 lf_portmod: updates cli switches for mgr-port 2019-11-27 13:20:21 -08:00
Jed Reynolds
d8b5b2892d wifi_diag: fixes unintialized sequence number, whitespace 2019-11-26 17:21:58 -08:00
Jed Reynolds
88280615f4 wifi-diag: initializes block-ack bitmap to 16 bytes of zeros 2019-11-26 16:10:30 -08:00
Jed Reynolds
ba748aab9c script_test: expanding tests 2019-11-25 23:24:39 -08:00
Jed Reynolds
182b1787ae small updates 2019-11-25 23:24:17 -08:00
Jed Reynolds
392c6ca6c0 Reducing size of each test, using Test2 package 2019-11-25 20:35:05 -08:00
Jed Reynolds
50c859d487 Test.pm provides perl script testing base class 2019-11-25 13:15:43 -08:00
Jed Reynolds
0eaac34317 script_test: splitting up tests in a more responsible way 2019-11-22 17:56:47 -08:00
Jed Reynolds
93d851800f create_sta.py: changes get() to jsonPost() 2019-11-21 17:24:01 -08:00
Jed Reynolds
1392a4403a LFUtils.py: small improvements 2019-11-21 17:24:01 -08:00
Ben Greear
756b1ceb09 adjust-apache: Better handling for /etc/hosts
Signed-off-by: Ben Greear <greearb@candelatech.com>
2019-11-21 14:20:10 -08:00
Jed Reynolds
e9ffab48d3 script_test: adds better reporting mechanism 2019-11-19 23:01:35 -08:00
Jed Reynolds
8179def1e8 script_test: adds GetOptions feature 2019-11-19 13:45:35 -08:00
Jed Reynolds
306d85b225 ScriptTest: initial test querying a port 2019-11-18 18:13:06 -08:00
Jed Reynolds
05eda4ed71 lf_associate_ap: corrects comment 2019-11-16 11:28:46 -08:00
Jed Reynolds
5c87395c22 Port.pm: adds parsing for IPSec line 2019-11-16 11:28:04 -08:00
Jed Reynolds
0b13a52489 lf_portmod: fixes parsing show_port, makes option optional with ":" GetOptions token 2019-11-16 10:52:48 -08:00
Ben Greear
12ba500849 Make speed test executable. 2019-11-16 06:53:11 -08:00
Jed Reynolds
f42fc97a19 detects out of date mgr_port values 2019-11-12 17:40:38 -08:00
Jed Reynolds
e9f249d311 Script is better way of making certificates with SANs 2019-11-12 15:15:04 -08:00