Commit Graph

45 Commits

Author SHA1 Message Date
Matthew Stidham
36400e003d Making it so that lanforge-scripts can work if the repository isn't named exactly the same way
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-09-17 15:29:15 -07:00
erinnerim
1d7578251c Updates to import statements:
- Import importlib, os, and sys to each python script.
 - Append "lanforge-scripts" root directory to the system path, allowing each script to be called from an antecedent directory. e.g.
if 'lanforge-scripts' not in sys.path:
    sys.path.append(os.path.join(os.path.abspath(__file__ + "../../../../../")))
 - All statements of the form 'from <module> import <class>' replace with:
<module> = importlib.import_module("lanforge-scripts.<directory>.<module>")
<class> = <module>.<class>
2021-09-15 16:17:16 -07:00
bealler
b810c9165a Add support for wifi6 vs wifi5 rf profiles 2021-02-21 19:58:53 -05:00
bealler
2e5d0f89d8 Add test to update SSID and run connectivity 2021-02-19 12:14:57 -05:00
bealler
bb645baeb8 Add CloudSDK version to TestRail run for use in QA portal 2021-02-17 19:57:34 -05:00
bealler
49cc98223e Add WF194C and EAP102 2021-02-17 09:08:55 -05:00
bealler
f358db9b52 Check manager state before AP model is tested 2021-02-15 15:02:38 -05:00
bealler
e08b2abdde Switch to use of single station name for 2.4G and 5G connectivity tests - allowing for use of default wlan station 2021-02-12 14:37:04 -05:00
bealler
5123ecef58 Remove some use of is operator, fix log printout spelling errors 2021-02-11 09:22:14 -05:00
bealler
e383ec2701 Add customerId to profile create functions 2021-02-01 15:27:57 -05:00
bealler
edb9c693c3 Minor bug fixes 2021-01-31 12:56:21 -05:00
bealler
abbc1476d3 Add AP model WF188N, bug fix on RADIUS profile create 2021-01-29 16:03:58 -05:00
bealler
1c89cca573 Argument to override TestRail TR prefix, minor log changes 2021-01-28 15:42:12 -05:00
bealler
476a033fc1 Changes to RADIUS and SSID profile creation 2021-01-27 15:21:37 -05:00
bealler
3b7c299cc3 Changes to RADIUS and SSID profile creation 2021-01-27 15:19:26 -05:00
bealler
822931bcdc Delete created profiles at end of test run 2021-01-26 16:40:47 -05:00
bealler
c29efe2d65 Arguments to skip EAP, Bridge, NAT, VLAN tests and disclude their TCs from the TestRail test run 2021-01-25 20:03:21 -05:00
bealler
52901dade9 Arguments to skip EAP, Bridge, NAT, VLAN tests and disclude their TCs from the TestRail test run 2021-01-24 19:50:58 -05:00
bealler
6c654fe64f Modify environment variable name from TESTRAIL_URL to TR_URL because it is already used with another test application 2021-01-20 07:45:05 -05:00
bealler
9bcf244db8 Add arg to skip AP upgrade and use current running firmware 2021-01-19 19:40:36 -05:00
bealler
7f38e6bfad Nightly Sanity - add argument to test specific AP model 2021-01-13 14:06:54 -05:00
bealler
f077ad7962 Nightly Sanity - Create RADIUS profile via API 2021-01-08 15:46:29 -05:00
bealler
fb2d894014 Add arguments to Nightly Sanity to allow user to specify firmware build and other parameters, README update and minor bug fixes 2021-01-07 13:25:00 -05:00
bealler
89b3c706b0 Allow for custom IP address for LANForge server and custom prefix for station names 2020-12-22 13:35:51 -05:00
bealler
9c10b16d77 Make LANForge radio references in Nightly Sanity into variables defined in lab_ap_info 2020-12-18 13:58:28 -05:00
bealler
50fc623617 Move RADIUS and RF profile IDs to variables in lab_ap_info 2020-12-16 10:06:14 -05:00
bealler
303d8769ca Remove hardcoded test case numbers from Nightly_Sanity 2020-12-16 08:57:54 -05:00
bealler
5174f5a6d7 Set variable portal type (needed for auth) 2020-12-15 15:51:52 -05:00
bealler
a048fec05a Use customer ID from lab_ap_info 2020-12-15 12:52:28 -05:00
bealler
8d2e83bd9c Changes to report_data.json building 2020-12-14 20:36:12 -05:00
bealler
204b8a489d TestRail run name uses environment variable for prefix 2020-12-14 14:54:42 -05:00
bealler
5b76bdaa36 Add tests to Nightly_Sanity to create all SSID profiles using CloudSDK APIs prior to performing connectivity tests 2020-12-13 20:18:50 -05:00
bealler
d7f1c922ae Add Create AP Profile test cases to Nightly Sanity 2020-12-10 13:10:18 -05:00
bealler
4504cf54cf Cleanup unused code 2020-12-08 20:03:44 -05:00
bealler
285d16a54b Minor print changes, set cloudSDK version to unknown if AP is unreachable 2020-12-07 22:08:57 -05:00
bealler
fa311240f1 Test results push to sanity status bug fix 2020-12-02 20:32:13 -05:00
bealler
c6d805d3e1 Add new test case to Nightly Sanity for create FW version 2020-12-02 16:21:51 -05:00
bealler
2332e0cc52 Add new test case to Nightly Sanity 2020-12-01 20:45:06 -05:00
bealler
f35f20bbb6 Add tests in Nightly Sanity for AP profile push from CloudSDK and AP config apply 2020-12-01 14:16:27 -05:00
bealler
dcc2c23ee5 Changes to use API to check CloudSDK version. cluster_version.py is now obsolete and is deleted 2020-11-27 15:39:23 -05:00
bealler
d2792d1294 Add CloudSDK version in TestRail run description. Additional logger outputs for Nightly_Sanity.py 2020-11-25 19:37:47 -05:00
bealler
ef7f3142d0 Use new sta_connect2 functionality to set bringup_time_secs to custom value 2020-11-25 14:08:33 -05:00
bealler
93a1f36105 Minor print changes, reformat of README file 2020-11-24 20:08:32 -05:00
bealler
2f47a3aaba Modify Nightly_Sanity.py to use sta_connect2.py script, Remove test_connect.py, add user notes and README file 2020-11-23 13:01:11 -05:00
Syama
33b8c7ff98 cicd sanity changes
Signed-off-by: Syama <syama.devi@connectus.ai>
2020-11-20 11:11:01 -05:00