Commit Graph

1222 Commits

Author SHA1 Message Date
Ben Greear
fc24fffbe2 firemod: Attempt to fix INC path issue.
On my system that does not have the directory /home/lanforge/scripts, the
lf_firemod.pl would fail saying it cannot find Net::Telnet, even though it
is installed.

The problem turns out to be that if you have "use lib foo" and foo does not exist,
or is not readable, then perl craps out immediately instead of trying other
places in @INC.  I think this 'use if' logic fixes that issue based on
internet reading.  It fixes the issue on my system, but I'm not certain
it works properly on systems that do depend on /home/lanforge/scripts/
existing, so that will need some more testing.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2020-08-29 13:13:21 -07:00
Logan Lipke
a79a32dc7a Updated stop method 2020-08-28 15:04:35 -07:00
Logan Lipke
b02580b10d Updated stop method 2020-08-28 12:22:13 -07:00
Logan Lipke
18f08506d8 Merge remote-tracking branch 'origin/master' 2020-08-27 16:18:36 -07:00
Logan Lipke
e694a4b162 Removed unnecessary debug output 2020-08-27 16:07:45 -07:00
Logan Lipke
6cf34bd242 Updated stop method moved admin_up to correct place 2020-08-27 14:17:16 -07:00
Logan Lipke
a115f1fe7a Updated stop method 2020-08-27 14:10:57 -07:00
Chuck SmileyRekiere
e016db4d7f updates l3 longevity help 2020-08-27 11:27:27 -06:00
Chuck SmileyRekiere
a5de1b3e02 fix channel command for 9800 series 2020-08-27 09:00:16 -06:00
Logan Lipke
383d2cf7b9 Updated to add wpa and wep options for dut_security 2020-08-26 13:41:59 -07:00
Chuck SmileyRekiere
c30d4c6bb8 cisco updates 9800 2020-08-26 13:48:32 -06:00
Chuck SmileyRekiere
a3398d565c command line example fix 2020-08-25 18:54:46 -06:00
Chuck SmileyRekiere
2053562c94 changed radio parameters to not be positional 2020-08-25 18:37:05 -06:00
Logan Lipke
602d3328e8 Script for checking ip association and connection to eap-ttls 2020-08-25 12:53:17 -07:00
Logan Lipke
08030c4b61 Added set_wifi_extra method to StationProfile to assist with ttls, added params to create for ttls 2020-08-25 12:36:22 -07:00
Logan Lipke
22eb0b0ab8 Moved VAPProfile ht160 options from init to create method 2020-08-24 15:34:40 -07:00
Logan Lipke
9f1efbcbeb Merge remote-tracking branch 'origin/master' 2020-08-24 12:41:52 -07:00
Chuck SmileyRekiere
cbfb03eb52 added controller configuration 2020-08-22 17:26:07 -06:00
Logan Lipke
2b3c3a90bd Removed debug output in VAPProfile 2020-08-21 12:31:59 -07:00
Logan Lipke
588c485687 Added missing radio arg 2020-08-19 16:18:31 -07:00
Logan Lipke
d898c45ab4 Merge remote-tracking branch 'origin/master' 2020-08-19 11:33:52 -07:00
Ben Greear
c0524b5e25 Merge /home/greearb/git/tip/wlan-lanforge-scripts 2020-08-19 09:23:32 -07:00
Ben Greear
99d5d77891 kpi: Fix slack integration.
Seems to be working now.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2020-08-19 09:08:06 -07:00
Ben Greear
22bb9fc080 kpi: Add initial attempt at integrating with slack.
Code needs testing on real system and then needs the system
call added to actually send info into slack.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2020-08-19 07:07:59 -07:00
Ben Greear
d09e2a7eef cicd: Fix passing prompt into the openwrt_ctl script.
So we can deal with DUT with prompts other than root@OpenWrt

Signed-off-by: Ben Greear <greearb@candelatech.com>
2020-08-19 06:17:47 -07:00
Logan Lipke
390977fe3d Merge remote-tracking branch 'origin/master' 2020-08-17 10:15:20 -07:00
Chuck SmileyRekiere
9205e75282 changed the check interval back to 60 sec 2020-08-14 14:35:58 -06:00
Chuck SmileyRekiere
87232227fe replace , with ; for csv most least most elements 2020-08-14 13:20:08 -06:00
Chuck SmileyRekiere
5a125f7b29 csv updates 2020-08-14 11:15:47 -06:00
Logan Lipke
b61ca04200 Added HTTPProfile, used for station-station layer 4 traffic 2020-08-14 10:11:42 -07:00
Logan Lipke
85f8bc43f0 Script for testing wifi-wifi layer 4 ftp 2020-08-14 10:11:14 -07:00
Logan Lipke
6980dc408e Script for testing wifi-wifi layer 4 http 2020-08-14 10:11:08 -07:00
Chuck SmileyRekiere
f068de0553 csv updates 2020-08-14 11:04:55 -06:00
Ben Greear
427e9068c8 Merge branch 'master' of github.com:Telecominfraproject/wlan-lanforge-scripts 2020-08-14 13:33:07 +00:00
Ben Greear
4e39aa6060 cicd/kpi: Fix pass/fail csv index.
Ye olde off-by-one

Signed-off-by: Ben Greear <greearb@candelatech.com>
2020-08-14 13:32:11 +00:00
Ben Greear
6e9dbcc8a4 Merge /home/greearb/btbits/x64_btbits/server/lf_scripts 2020-08-13 13:32:03 -07:00
Dipti
737c752e91 WIP- WAN to LAN build function added 2020-08-13 10:59:28 -07:00
Jed Reynolds
1e545c15b2 LFUtils.py: fixes json-post for waiting on ports 2020-08-07 16:31:50 -07:00
Jed Reynolds
66d0fcaa8a tip_station_powersave.py: progress creating and removing ports; collecting mac addresses for tshark 2020-08-07 16:24:25 -07:00
Jed Reynolds
9f92c77859 realm.py: uses existing method 2020-08-07 16:24:25 -07:00
Jed Reynolds
c84061de96 LFUtils.py: correct post method, should have been jsonPost 2020-08-07 16:24:25 -07:00
Jed Reynolds
88a60f3bda LFRequest.py: whitespace 2020-08-07 16:24:25 -07:00
Jed Reynolds
c39d50f698 realm.py: improves delay for rm port and rm port formatting 2020-08-07 16:24:25 -07:00
Jed Reynolds
aea67cb61f realm.py: tests for 'empty' key for empty lists 2020-08-07 16:24:25 -07:00
Logan Lipke
00039d772b Updated to use StationProfile.admin_down() 2020-08-07 16:16:58 -07:00
Logan Lipke
799a577925 Added test for ftp urls/10 min 2020-08-07 16:16:33 -07:00
Logan Lipke
43bda976ff Changed file name to show upload, reordered start function, added radio arg 2020-08-07 16:00:58 -07:00
Logan Lipke
68b13e39c5 Added upstream port param 2020-08-07 11:53:10 -07:00
Logan Lipke
ee46137890 Added upstream port param 2020-08-07 11:52:00 -07:00
Logan Lipke
43572b418f Fixed upstream port name for setting ftp 2020-08-07 11:45:31 -07:00