Logan Lipke
1e24b37f7a
Added debugOn attribute to StaConnect
2020-06-10 16:01:10 -07:00
Syama
3345eaf636
CICD: This is the initial version of files to setup test infrastructre including testrail update
...
cicd_testrail.py : This file provides the testrail api to get the project id, run id and update test result to testrail
cicd_testrailAndInfraSetup.py : This file fetches teh latest image from jfrog, upgrades opensync gw , upgardes the AP via SCP.
Connects the Lanforge clients, check teh client connectvity, checks the number of clients connected in the opensync gw mqtt log
and finally updates the testrail with the test status.
2020-06-10 17:18:58 -04:00
Jed Reynolds
6a2476dcf3
sta_connect_multi_example.py: turn cleanup on
2020-06-10 11:02:10 -07:00
Jed Reynolds
fe18cd9850
sta_connect.py: provides way of recording stations created during a test
2020-06-10 11:01:30 -07:00
Jed Reynolds
d88b925ced
sta_connect.py: fixes UDP connections, now setting UseAutoNat, speeds up report timer
2020-06-09 22:55:21 -07:00
Jed Reynolds
104e0d4bca
sta_connect_multi_example: changes NA to [BLANK]
2020-06-09 17:45:27 -07:00
Jed Reynolds
e83488483f
sta_connect_multi_example.py: a few options
2020-06-09 16:48:23 -07:00
Jed Reynolds
8b5ddaf7bf
sta_connect.py: lots of changes
2020-06-09 16:47:23 -07:00
Jed Reynolds
bc5f2feb49
sta_connect_multi_example.py: demonstrates using StaConnect to operate multiple tests on multiple ports
2020-06-09 14:09:12 -07:00
Jed Reynolds
8be8ae6112
sta_connect_multi_example - demonstrates connecting multiple stations and passing traffic
2020-06-09 13:52:03 -07:00
Jed Reynolds
830dec0362
sta_connect.py: passes sta_connect_example.py test
2020-06-09 13:51:01 -07:00
Jed Reynolds
ed392975aa
sta_connect.py: WIP: making class compatible with multiple stations
2020-06-09 13:22:56 -07:00
Jed Reynolds
dfc6929924
sta_connect.py: WIP: converting all things into loops to handle multiple stations
2020-06-09 12:44:46 -07:00
Jed Reynolds
4217566b7d
sta_connect_example.py: debugging off
2020-06-05 15:24:56 -07:00
Jed Reynolds
637314fcc5
sta_connect.py: adds slashes
2020-06-05 15:24:41 -07:00
Jed Reynolds
478d3ec768
sta_connect.py: removing unecessary variables
2020-06-05 15:18:03 -07:00
Jed Reynolds
7fd3801734
sta_connect_example.py: temporarily turning on debugging
2020-06-05 15:11:32 -07:00
Jed Reynolds
9fdffc7b62
sta_connect.py: removes use of f-strings
2020-06-05 14:10:53 -07:00
Jed Reynolds
d5ecef3a9c
sta_connect.py: refactors methods to use self not super(), moves _fail, _pass into superclass
2020-06-04 22:50:18 -07:00
Jed Reynolds
af37e48d66
stations_connected.py: provides method to query how many stations are associated with BSSID
2020-06-04 22:49:17 -07:00
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
Jed Reynolds
e2e7e9240c
sta_connect: updated to have a results array
2020-06-04 13:32:20 -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
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
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
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
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
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
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