Logan Lipke
55d2d584f9
Fixed names and redundant parentheses
2020-06-03 09:20:22 -07:00
Logan Lipke
6e2a1e05b9
Refactored code to better fit PEP8 standards
2020-06-02 11:18:32 -07:00
Logan Lipke
804458b07a
Refactored code to better fit PEP8 standards, removed unnecessary imports
2020-06-02 11:18:19 -07:00
Jed Reynolds
f9d8849bba
LFRequest.py: adds more debugging
2020-06-01 21:45:47 -07:00
Jed Reynolds
f69d4cdb90
sta_connect.py, lfcli_base.py: fixes inheritance mistake, continues refactoring, test now runs
2020-06-01 21:45:47 -07:00
Jed Reynolds
29c6c7c7b8
LFRequest.py: tidies up lint errors like redundant parens
2020-06-01 21:45:47 -07:00
Jed Reynolds
de7314b6a9
lfcli_base: renamed module to follow PEP8 reccos
2020-06-01 21:45:47 -07:00
Jed Reynolds
356a2cae4f
lfcli_base: renamed module to follow PEP8 reccos
2020-06-01 21:45:47 -07:00
Jed Reynolds
6da7ef8afc
sta_connect: refactoring leading to a base class LFCliBase and class structure for sta_connect
2020-06-01 21:45:47 -07:00
Logan Lipke
6eb4830956
Fixed incorrect file destination
2020-06-01 15:01:44 -07:00
Logan Lipke
0d3d6c8c5a
Fixed incorrect file destination
2020-06-01 15:01:40 -07:00
Ben Greear
cfbe26c76c
json: Add python/json unit test script.
...
And remove flakey helper method in LFUtils, just make user specify
the resource ID when removing ports.
The sta_connect.py script will create a station, run traffic, and calculate
pass/fail based on the results. Idea is for it to be part of a unit-test framework.
2020-05-28 15:38:16 -07:00
Jed Reynolds
2a82c6ec45
create_sta.py: documents examples of truthy call to suppression parameters
2020-05-28 14:29:51 -07:00
Jed Reynolds
e199faaefb
LFUtils.py: gains methods used in connectTest.py
2020-05-26 17:11:03 -07:00
Jed Reynolds
e025387472
LFUtils.py: fixes string comparators
2020-05-26 17:11:03 -07:00
Jed Reynolds
72a2af3e5c
LFRequest.py: quiets logging on 404 error, fixes renamed ref
2020-05-26 17:11:03 -07:00
Jed Reynolds
2ca39c5e18
LFUtils.py: fixes typo reference
2020-05-26 17:11:03 -07:00
Logan Lipke
94d6701019
Updated File
2020-05-20 10:41:35 -07:00
Jed Reynolds
49adca8eba
corrects locations found in comments
2020-04-10 15:26:03 -07:00
Jed Reynolds
ab4c7fd120
LFRequest: uses decode(utf-8) to be compatible with python3.5
2020-04-10 12:20:47 -07:00
Logan Lipke
8a4d5189fd
show_ports.py: showing errors
2020-04-10 11:44:09 -07:00
Logan Lipke
f189fe5f13
LFRequest: updates get() error expression
2020-04-10 11:43:53 -07:00
Logan Lipke
39d9b777af
Merge branch 'master' of github.com:greearb/lanforge-scripts
2020-04-10 11:12:29 -07:00
Logan Lipke
7c6ab1be6f
Added module to more easily create generic endpoints, and set their flags/cmds
2020-04-10 11:03:51 -07:00
Jed Reynolds
7f6b5d5e1e
LFRequest updated to show HTTPMessage errors via headers
2020-04-09 14:43:58 -07:00
Jed Reynolds
22ed5e39b8
test_l4.py used to elicit errors
2020-04-09 14:43:58 -07:00
Jed Reynolds
2ce51d7089
fixes dangling merge from create_wanlink.py
2020-04-08 23:12:20 -07:00
Jed Reynolds
174cc44893
LFUtils: uses more appropriate assignment operators for python 3.5.x
2020-03-03 09:02:36 -08:00
Jed Reynolds
ae9a499c90
ws-sta-monitor: updates regexes and string output to help summary stay terse
2020-02-28 16:03:47 -08:00
Jed Reynolds
da98ff6702
ws-sta-monitor: removed unused list
2020-02-28 14:07:54 -08:00
Jed Reynolds
43026de8f2
ws-sta-monitor: added --host argument
2020-02-28 14:06:12 -08:00
Jed Reynolds
27fa1b66e1
ws-sta-monitor: figuring out regex
2020-02-28 12:22:35 -08:00
Jed Reynolds
96a88742f7
Renames websocket-filter to ws-sta-monitor to reflect goal of script
2020-02-28 09:54:19 -08:00
Jed Reynolds
15c00db6b3
added more parsing
2020-02-26 17:14:49 -08:00
Jed Reynolds
b7185a9722
websocket filter prints out JSON messages related to station status; WIP
2020-02-26 16:24:55 -08:00
Jed Reynolds
5d2a5a06bd
Example script that creates stations and runs wifi-capacity test
2020-02-26 14:13:58 -08:00
Jed Reynolds
f97aceace1
create_sta.py: updated to work on remote systems, additional command line parameters, more sleep between commands
2020-01-07 18:24:37 -08:00
Jed Reynolds
8933060a6a
LFUtils.py methods updated with base_url parameter; additional diagnostic output
2020-01-07 18:24:37 -08:00
Jed Reynolds
6355906fd2
create_wanlink fixes perl dict values
2020-01-07 16:56:35 -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
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
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
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
Jed Reynolds
3cc0e0706f
Updates README
2019-10-31 10:01:42 -07:00
Jed Reynolds
229e6012bf
simple readme file
2019-10-30 18:37:55 -07:00
Jed Reynolds
2faba75fef
py-json: adds more examples of modifying stations
2019-10-30 18:23:40 -07:00