Commit Graph

713 Commits

Author SHA1 Message Date
Logan Lipke
80082e85b1 Changed fstrings to % formatting 2020-06-04 13:58:59 -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
Logan Lipke
0275d18464 Changed script to help prevent multiple guis from running at once 2020-06-02 14:41:20 -07:00
Logan Lipke
65033e1d2b Merge branch 'master' of https://github.com/greearb/lanforge-scripts 2020-06-02 12:26:19 -07:00
Logan Lipke
8dfe5b6f10 Added grep for failure in GUIUpdateLog.txt to prevent unnecessary tests from being run 2020-06-02 12:26:15 -07:00
Logan Lipke
195127b0b6 Changed failure output to be consistent throughout script 2020-06-02 12:25:43 -07:00
Logan Lipke
68647efc9d Merge remote-tracking branch 'origin/master' 2020-06-02 11:19:40 -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
Logan Lipke
c6558a6dd4 Merge branch 'master' of https://github.com/greearb/lanforge-scripts 2020-06-02 09:51:43 -07:00
Logan Lipke
56fa71c229 Fixed error caused by incorrect time formatting 2020-06-02 09:51:07 -07:00
Jed Reynolds
ad1abd4bcb removes realmX scripts from py-scripts 2020-06-01 21:47:37 -07:00