Jed Reynolds
510f72a0b0
renamed file
2020-06-04 15:26:26 -07:00
Jed Reynolds
53a5d3de95
querying stations example WIP
2020-06-04 15:19:29 -07:00
Jed Reynolds
b7d497b904
sta_connect_example.py: shows example of how to get passing state and failure messages
2020-06-04 15:06:38 -07:00
Jed Reynolds
0b8e460136
sta_connect.py: provides pass/fail methods:
...
- passes() method counts any message not /^pass/i as failure
- rearranges guards at top
- defines fail and pass prefixes, fail messages
- removes exit() and sets _halt_on_error to False
- compareVals now using _pass() and _fail()
- changes uses of f-string to modulo-string formatting, allowing tests to run on F24
2020-06-04 15:06:38 -07:00
Logan Lipke
194bcb7845
Fixed extra % sign in formatting
2020-06-04 14:53:47 -07:00
Logan Lipke
979b9754c1
Fixed missing %s
2020-06-04 14:51:32 -07:00
Logan Lipke
a1bd5865ed
Fixed missing %s
2020-06-04 14:16:56 -07:00
Logan Lipke
e768a1544b
Changed fstrings to % formatting
2020-06-04 14:15:40 -07:00
Logan Lipke
c4d96626a5
Merge remote-tracking branch 'origin/master'
2020-06-04 13:59:15 -07:00
Logan Lipke
80082e85b1
Changed fstrings to % formatting
2020-06-04 13:58:59 -07:00
Jed Reynolds
e2e7e9240c
sta_connect: updated to have a results array
2020-06-04 13:32:20 -07:00
Logan Lipke
29c18611da
Refactored code to fit with PEP8 specifications and work with LFcliBase.
2020-06-04 11:23:08 -07:00
Ben Greear
a5a8dc370d
Merge branch 'master' of github.com:greearb/lanforge-scripts
2020-06-04 06:12:57 -07:00
Ben Greear
a327818014
cicd: Consider oom-killer a crash when processing logs.
2020-06-04 06:12:33 -07:00
Jed Reynolds
dba92521f7
realm_test.py: successfully removes and creates new stations using build()
2020-06-04 00:31:54 -07:00
Jed Reynolds
4d27b27f7d
realm.py: lots of progress making StationProfile::build work
2020-06-04 00:31:15 -07:00
Jed Reynolds
14db352952
create_sta.py: updates call for ports
2020-06-04 00:29:39 -07:00
Jed Reynolds
d37f633eb6
set_port.py: adds port interest flags
2020-06-04 00:29:08 -07:00
Jed Reynolds
b5eb2f9e2f
LFUtils.py: lots of debug additions, whitespace/formatting
2020-06-04 00:28:44 -07:00
Jed Reynolds
49b137a3bd
realm.py: adds new_station_profile(), uses renamed methods
2020-06-03 16:52:25 -07:00
Jed Reynolds
2a1e79949f
py-json: renames methods to snake_case as per PEP8
2020-06-03 16:51:33 -07:00
Jed Reynolds
93012bd20c
realm_test.py: WIP, searching stations by pattern
2020-06-03 16:38:32 -07:00
Jed Reynolds
d43ed3c588
LFRequest.py: sets die-on-error, improves efficiency of find_ports_like
2020-06-03 16:37:29 -07:00
Jed Reynolds
3ec51b00aa
lfcli_base.py: improvements to error debugging
2020-06-03 16:35:34 -07:00
Jed Reynolds
546fbc371f
realm_test.py: WIP:
...
re-ordered operations
capturing and reporting more errors
improving output
2020-06-03 15:35:19 -07:00
Jed Reynolds
d6f463c352
realm.py: WIP:
...
Realm now inherits LFCliBase
replaces direct calls to LFRequest
adds methods for referring and computing flags by name
capturing and reporting more errors
2020-06-03 15:35:19 -07:00
Jed Reynolds
f2c1e71281
lfcli_base.py: attempt to improve error capture and reporting
2020-06-03 15:35:19 -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
bd6fafd215
create_genlink.py: refactored to be a lfcli_base class
2020-06-03 13:39:07 -07:00
Jed Reynolds
e1d4478f7d
connectTest.py: reorganizes guards
2020-06-03 13:28:24 -07:00
Jed Reynolds
bcb814f2c1
realm.py: WIP:
...
- refer to lfclient not mgr in variable names
- refactoring to use flag names defined in py-json/LANforge
2020-06-03 13:28:24 -07:00
Jed Reynolds
b1efecd5d6
py-json: defines flags for add_sta, set_port
2020-06-03 13:28:24 -07:00
Ben Greear
9bf6cacc29
cicd: Make log files unique per testbed.
...
So we can manage multiple test beds from one controller.
2020-06-03 10:44:59 -07:00
Jed Reynolds
958fdef8ca
sta_connect_example.py, __init__.py: added example driver
2020-06-03 10:40:20 -07:00
Jed Reynolds
99efd0d9c7
sta_connect.py: adds gaurd
2020-06-03 10:40:20 -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
Logan Lipke
55d2d584f9
Fixed names and redundant parentheses
2020-06-03 09:20:22 -07:00
Logan Lipke
f923273c4e
Merge remote-tracking branch 'origin/master'
...
# Conflicts:
# connectTest.py
2020-06-03 09:18:50 -07:00
Logan Lipke
f9d438074c
Changed naming scheme of wanlinks to fit LANforge pattern
2020-06-03 09:18:20 -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
Jed Reynolds
2733f976e7
updateTest: more refinements
2020-06-02 17:11:10 -07:00
Jed Reynolds
8e2771e4f2
updateTest: improvements, also trying to summarize run into email
2020-06-02 17:02:21 -07:00
Jed Reynolds
12e454178d
auto-install-gui: no longer killing java here, let caller do that
2020-06-02 17:00:56 -07:00
Logan Lipke
a787cf8c14
Added command to resume GUI after killing proc
2020-06-02 14:49:28 -07:00
Logan Lipke
7faccba20b
Changed some failure related wording, changed command used to kill java processes
2020-06-02 14:43:18 -07:00
Logan Lipke
75a1f8ea4e
Suppressed repetitive output during test
2020-06-02 14:41:59 -07:00