Jed Reynolds
2a1e79949f
py-json: renames methods to snake_case as per PEP8
2020-06-03 16:51:33 -07:00
Logan Lipke
fac2d4b2c1
Added check for jsonget of endpoint info, added stacktrace on fail
2020-06-03 15:09:26 -07:00
Jed Reynolds
d4817c9727
renames create_genlink to generic_cx
2020-06-03 13:41:55 -07:00
Jed Reynolds
551ff33b64
connectTest.py: uses refactored create_genlink class
2020-06-03 13:39:37 -07:00
Jed Reynolds
e1d4478f7d
connectTest.py: reorganizes guards
2020-06-03 13:28:24 -07:00
Logan Lipke
bbf29e2455
Changed names of stations to use staName variable
2020-06-03 10:19:29 -07:00
Logan Lipke
8e82ab83a7
Changed wanlink naming to fit LANforge naming patterns
2020-06-03 09:22:38 -07:00
Jed Reynolds
8fee309d2d
connectTest.py: refactors test into a class; fixes how port is brought up, now reliably creates port and it get IP address; NOT DONE
2020-06-02 23:57:42 -07:00
Jed Reynolds
61701f2fa6
looks like station_info produces no information, needs refactoring, more debugging
2020-06-02 17:11:58 -07:00
Logan Lipke
75a1f8ea4e
Suppressed repetitive output during test
2020-06-02 14:41:59 -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
68e104f2f3
connectTest.py: quieter
2020-05-26 17:11:03 -07:00
Jed Reynolds
4f3bdde8ed
connectTest.py: several changes:
...
- whitespace, prefer indenting dicts
- moved subroutines out to LFUtils
- renamed a few variables
- fixes inspecting possibly null return values
2020-05-26 17:11:03 -07:00
Jed Reynolds
d493926823
connectTest: check for radio, more reliable that station thats easy to erase
2020-05-26 14:13:26 -07:00
Jed Reynolds
363e7fddc9
connectTest: tabs to spaces
2020-05-26 11:49:55 -07:00
Logan Lipke
5c1e2e6add
Added variables for station wait time, added clean up after failing to get station ip
2020-05-22 16:23:47 -07:00
Logan Lipke
f6cbd17f03
Added timeout for station ip grabbing from dhcp
2020-05-22 15:05:26 -07:00
Logan Lipke
19842a0294
Added check for LANforge Client, removed unnecessary function parameters
2020-05-22 10:59:21 -07:00
Logan Lipke
5d3e4f4960
Added exception handling and station cleanup
2020-05-21 11:15:08 -07:00
Logan Lipke
cf6249ac7a
Added a station creation request to ensure necessary station exists
2020-05-20 12:56:03 -07:00
Logan Lipke
6096fbd9ef
Added logging for perl scripts
2020-04-23 13:50:12 -07:00
Logan Lipke
9c0a00684b
Added wanlink testing and short sleep times to prevent unnecessary errors
2020-04-23 12:59:57 -07:00
Logan Lipke
f49884e693
Improved output to help with automated testing
2020-04-17 15:20:41 -07:00
Logan Lipke
8f5dbe865c
Removed unnecessary testing code
2020-04-16 12:14:34 -07:00
Logan Lipke
9f96e7862c
Added cleanup for endps and cxs after testing
2020-04-16 09:28:58 -07:00
Logan Lipke
dd2d351981
Added json requests of info for endpoints
2020-04-10 16:51:38 -07:00
Logan Lipke
e6a4f800b8
Added fileio and generic endpoint tests
2020-04-10 11:02:59 -07:00
Logan Lipke
867bb762fe
connectTest used for creating connections using all forms of scripts
2020-04-08 14:13:51 -07:00