Jed Reynolds
7fa76d4517
LFUtils: new snake_case method for wait_until_ports_admin_up()
2020-07-31 09:21:16 -07:00
Jed Reynolds
c54d342a8e
LFUtils.py: whitespace
2020-07-30 13:51:05 -07:00
Jed Reynolds
4336ddb74e
Fixed typo
2020-07-30 12:35:49 -07:00
Dipti Dhond
472919790f
print statement moved
2020-07-14 17:13:17 -07:00
Jed Reynolds
3c21b6cab1
LFUtils.py: quieter
2020-07-03 07:54:43 -07:00
Jed Reynolds
de66c8ff81
LFUtils.py: more PEP8 method names, output improvements
2020-07-02 11:01:41 -07:00
Logan Lipke
f92e4fae29
Changed getAsJson parameters to use debug_ instead of show_error
2020-06-30 09:36:55 -07:00
Logan Lipke
d63c4a8a56
Changed tuple in waitUntilPortsDisappear parameters to list, changed wait_until_ports_disappear to use values passed by waitUntilPortsDisappear
2020-06-23 16:45:26 -07:00
Jed Reynolds
d3f76e5d18
LFUtils: introduces wait_until_ports_disappear as PEP8 method
2020-06-16 23:24:38 -07:00
Jed Reynolds
ec3ac0a570
LFUtils.py: introduces port_name_series to replace portNameSeries
2020-06-09 12:44:46 -07:00
Logan Lipke
14e3c59ef1
Removed extra base_url in url assignment
2020-06-05 14:50:53 -07:00
Logan Lipke
7f5ec13a7d
Rewrote usage of LFRequest to work with new constructor
2020-06-05 14:41:03 -07:00
Logan Lipke
a137ca1792
Fixed missing %s in url
2020-06-05 10:51:51 -07:00
Jed Reynolds
ae014c3eeb
LFUtils.py: updates portListToAliasMap to have debug param, raise exception on empty/no results
2020-06-04 22:52:09 -07:00
Logan Lipke
80082e85b1
Changed fstrings to % formatting
2020-06-04 13:58:59 -07:00
Jed Reynolds
b5eb2f9e2f
LFUtils.py: lots of debug additions, whitespace/formatting
2020-06-04 00:28:44 -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
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
2ca39c5e18
LFUtils.py: fixes typo reference
2020-05-26 17:11:03 -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
8933060a6a
LFUtils.py methods updated with base_url parameter; additional diagnostic output
2020-01-07 18:24:37 -08:00
Jed Reynolds
1392a4403a
LFUtils.py: small improvements
2019-11-21 17:24:01 -08:00
Jed Reynolds
9d70b6c469
py-json: adds convenience methods, defines report timers and other constants
2019-10-30 18:21:37 -07:00
Jed Reynolds
57878e0412
py-json: simplifies get request and error output, examples work better
2019-10-30 16:16:03 -07:00
Jed Reynolds
3c60c2da99
progress making station up/down requests
2019-10-29 18:45:06 -07:00
Jed Reynolds
9da3b1379d
py-json: working example of creating and destroying stations
2019-10-29 16:09:56 -07:00