Commit Graph

666 Commits

Author SHA1 Message Date
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
Ben Greear
3a807f19c1 cicd: Detect ath10k radio hard hang, attempt DUT reboot in that case.
And count this as if firmware crashed as far as log parsing is concerned.
2020-05-28 06:32:46 -07:00
Jed Reynolds
31a63ceca0 Realm: better value handling 2020-05-27 15:00:44 -07:00
Jed Reynolds
2429d42ea0 Realm.py: changes a few things 2020-05-27 14:34:52 -07:00
Logan Lipke
9ad5f9eec7 Merge branch 'master' of https://github.com/greearb/lanforge-scripts 2020-05-27 14:18:16 -07:00
Logan Lipke
b8820568a3 Added tests for regex port searching 2020-05-27 14:18:11 -07:00
Logan Lipke
79447e967d Added info grabbing for ports 2020-05-27 14:17:14 -07:00
Jed Reynolds
515151f80b updateTest: various improvements 2020-05-27 12:47:48 -07:00
Ben Greear
f5ed685dad kpi: Add comments/documentation for kpi.java classes.
To help me and others remember how this all fits together.
2020-05-27 06:56:38 -07:00
Ben Greear
3fcfa3e29f Merge branch 'master' of github.com:greearb/lanforge-scripts 2020-05-27 06:42:30 -07:00
Ben Greear
9008d20408 kpi: Add historical graphs for pass/fail totals.
Provides a nice way to check on overall results and test coverage.
2020-05-27 06:41:43 -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
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
72a2af3e5c LFRequest.py: quiets logging on 404 error, fixes renamed ref 2020-05-26 17:11:03 -07:00
Jed Reynolds
2ca39c5e18 LFUtils.py: fixes typo reference 2020-05-26 17:11:03 -07:00
Logan Lipke
eec145eec5 Merge branch 'master' of https://github.com/greearb/lanforge-scripts 2020-05-26 15:02:57 -07:00
Logan Lipke
e4e5406cd7 Script for testing Realm.py module 2020-05-26 15:02:39 -07:00
Logan Lipke
aeb8c65070 Module for creating large amounts of stations and cxs easily 2020-05-26 15:02:19 -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
0fa500576c Merge branch 'master' of https://github.com/greearb/lanforge-scripts 2020-05-22 16:24:09 -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
Ben Greear
0714806142 Merge branch 'master' of github.com:greearb/lanforge-scripts 2020-05-22 15:39:22 -07:00
Ben Greear
68d058b5cc gui-auto: Clear port counters at start of test. 2020-05-22 15:38:54 -07:00
Logan Lipke
16f1a26835 Merge branch 'master' of https://github.com/greearb/lanforge-scripts 2020-05-22 15:05:43 -07:00