Logan Lipke
9588f98e9b
Fixed broken test logic, added output when starting tests
2020-06-24 12:49:45 -07:00
Logan Lipke
5eff2f31ec
Rewrote test function, added range test with custom station list, added examples for new testing
2020-06-23 16:29:46 -07:00
Logan Lipke
9c9ee678fd
Changed search parameters for tests
2020-06-23 14:41:28 -07:00
Logan Lipke
34aa90f9af
Cleaned up run function
2020-06-22 16:57:24 -07:00
Logan Lipke
c3df3a62bd
Improved cleanup function
2020-06-22 14:16:36 -07:00
Logan Lipke
24cb4d739f
Added station creation, cleanup, association, and ip tests
2020-06-19 17:05:27 -07:00
Logan Lipke
5f3140b868
Fixed typo in argument parsing
2020-06-19 13:34:31 -07:00
Jed Reynolds
822dc0e036
sta_connect2.py: WIP creating layer3 connections, needs realm.py developments
2020-06-16 23:24:38 -07:00
Jed Reynolds
05ce5c109d
sta_connect2.py: divides up code into setup(), start(), stop(), clean() methods
2020-06-16 23:24:38 -07:00
Jed Reynolds
b413be3850
sta_connect2.py: WIP: introduces Realm based test class, presently crippled
2020-06-16 23:24:38 -07:00
Ben Greear
85bf11c9c2
testrails: Allow submitting externally generated test results into testrails.
...
This way, some other tool (ie, LANforge performance & stability tests automation)
can create results that can be put into testrails. This external automation
will not need direct access to test rails (user-account info, etc)
Code is not tested, plz comment out if it breaks something.
2020-06-12 15:45:36 -07:00
Ben Greear
1eb5617d79
Merge /home/greearb/git/tip/wlan-testing/lanforge/lanforge-scripts.tip
2020-06-12 14:15:41 -07:00
Jed Reynolds
d59f61b413
vap_stations_example.py: shows how to query /stations uri
2020-06-12 13:28:21 -07:00
Jed Reynolds
45b152e94b
Fixes wpa2 constant
2020-06-11 07:12:31 -07:00
Ben Greear
cb1827ecac
cicd: Make sta_connect print results to stdout when called as independent script.
2020-06-11 07:12:31 -07:00
Jed Reynolds
a49aceee9d
sta_connect.py: updates main to assign item to station_names
2020-06-11 07:12:31 -07:00
Logan Lipke
17158fe4e0
Added debugOn attribute to StaConnect
2020-06-11 07:12:31 -07:00
Syama
b607998322
Added function for opensync restart and copying the AP certs
2020-06-11 04:39:58 -04:00
Jed Reynolds
c2af87d70c
Merge branch 'master' of github.com:greearb/lanforge-scripts
2020-06-10 21:09:49 -07:00
Jed Reynolds
3cc27988cf
Fixes wpa2 constant
2020-06-10 21:08:54 -07:00
Ben Greear
f29cc0bd54
cicd: Make sta_connect print results to stdout when called as independent script.
2020-06-10 19:25:04 -07:00
Ben Greear
ab74fc2aa1
Merge branch 'master' of github.com:greearb/lanforge-scripts
2020-06-10 16:36:23 -07:00
Jed Reynolds
74632be0e7
sta_connect.py: updates main to assign item to station_names
2020-06-10 16:29:55 -07:00
Ben Greear
38e012b783
Merge /home/greearb/git/tip/wlan-lanforge-scripts
2020-06-10 16:07:15 -07:00
Logan Lipke
bbf4f8b5cf
Merge remote-tracking branch 'origin/master'
2020-06-10 16:02:01 -07:00
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