Commit Graph

692 Commits

Author SHA1 Message Date
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
Jed Reynolds
def0120da2 LFRequest.py: uses wpa2 flag; uses waitX methods 2020-06-01 21:45:47 -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
Logan Lipke
c7a737700e Changed filename and moved to py-scripts 2020-06-01 14:42:00 -07:00
Logan Lipke
58a4f87c84 Changed filename and moved to py-scripts 2020-06-01 14:41:49 -07:00
Jed Reynolds
e49511666f creates 60000 layer3 udp connections -- kinda poor idea 2020-05-28 22:32:31 -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
Logan Lipke
900de2f9db Merge branch 'master' of https://github.com/greearb/lanforge-scripts 2020-05-28 15:01:14 -07:00
Logan Lipke
a8c19a0c67 Added station creation function and parameter parsing 2020-05-28 15:00:53 -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
6837be2d6e updateTest.bash: kills harder 2020-05-28 13:14:46 -07:00
Logan Lipke
93844f2c6e Merge branch 'master' of https://github.com/greearb/lanforge-scripts 2020-05-28 12:27:49 -07:00
Logan Lipke
28a15b9618 Added testing for cx creation 2020-05-28 12:27:28 -07:00
Logan Lipke
bebe44808f Added endpoint and cx creation 2020-05-28 12:27:03 -07:00
Ben Greear
4f4335d515 Merge branch 'master' of github.com:greearb/lanforge-scripts 2020-05-28 06:33:42 -07:00