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
Jed Reynolds
d3f76e5d18
LFUtils: introduces wait_until_ports_disappear as PEP8 method
2020-06-16 23:24:38 -07:00
Logan Lipke
6fbb7d026f
Fixed error with exception handling
2020-06-16 12:10:14 -07:00
Logan Lipke
546392b8d6
Added error checking for missing info
2020-06-16 12:09:56 -07:00
Logan Lipke
e81a74e254
Added cleanup of text files from /tmp to prevent filling of /tmp
2020-06-16 11:12:36 -07:00
Logan Lipke
ce8d574f57
Added cleanup function to remove old stations,cx, and endps. Removed old cleanup method
2020-06-15 16:09:37 -07:00
Ben Greear
85d4acd639
kpi: Fix missing newline.
2020-06-15 11:17:14 -07:00
Logan Lipke
34e1ac8df4
Fixed typo in Exception raised for ValueError when checking CXProfile sides
2020-06-15 10:37:25 -07:00
Logan Lipke
053cc8671e
Reorganized code to separate endpoint and cx creation. Added longer sleep times in a few spots
2020-06-12 17:03:35 -07:00
Jed Reynolds
daa7a051cd
connectTest.py does nc_show_endpoints and waits differently
2020-06-12 16:24:02 -07:00
Logan Lipke
2519e4ddfa
Merge remote-tracking branch 'origin/master'
2020-06-12 16:07:13 -07:00
Logan Lipke
38ccb7ba7f
Added leading '/' to urls to work with LFCliBase. Increased sleep time in endpoint creation
2020-06-12 16:07:07 -07:00
Ben Greear
f076c82062
kpi: Add initial code to create testrails data file
...
Will allow importing results into testrails.
2020-06-12 15:47:51 -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
e54119758e
lfcli_base.py: repose_list_to_map is a more general method of doing LFUtils.portListToAliasMap()
2020-06-12 13:29:47 -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
9699e2741e
vap_stations_example.pl demonstrates querying JSON api for /stations data
2020-06-12 12:55:17 -07:00
Logan Lipke
8bb3462397
Fixed unmatched parentheses
2020-06-11 16:24:19 -07:00
Logan Lipke
ab20573080
Merge branch 'master' of https://github.com/greearb/lanforge-scripts
2020-06-11 16:13:50 -07:00
Logan Lipke
fa48ffb590
Added tests for new L3CXProfile create() method
2020-06-11 16:13:41 -07:00
Logan Lipke
9fcdf8ae5a
Added side flexibility to L3CXProfile, added name_to_eid function
2020-06-11 16:13:08 -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
e445ca5604
Renamed lfjson_host and lfjson_port to lfclient_host and lfclient_port
2020-06-11 07:12:31 -07:00
Logan Lipke
3548fd13fb
Renamed lfjson_host and lfjson_port to lfclient_host and lfclient_port
2020-06-11 07:12:31 -07:00
Logan Lipke
17158fe4e0
Added debugOn attribute to StaConnect
2020-06-11 07:12:31 -07:00
Logan Lipke
95b3545cc6
Added tests for CXProfile Classes
2020-06-11 07:12:31 -07:00
Logan Lipke
40c7a2f756
Added inheritance to CXProfile classes
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
Logan Lipke
81b4ac128a
Renamed lfjson_host and lfjson_port to lfclient_host and lfclient_port
2020-06-10 16:07:17 -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
ec678d74d6
Renamed lfjson_host and lfjson_port to lfclient_host and lfclient_port
2020-06-10 16:01:56 -07:00
Logan Lipke
1e24b37f7a
Added debugOn attribute to StaConnect
2020-06-10 16:01:10 -07:00
Logan Lipke
ce8863ba96
Added tests for CXProfile Classes
2020-06-10 16:00:42 -07:00
Logan Lipke
88920adacb
Added inheritance to CXProfile classes
2020-06-10 16:00:17 -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