Commit Graph

2127 Commits

Author SHA1 Message Date
Matthew Stidham
4e7e8b9360 1. Updating argparse commands so they include flags
2. Create check_argparse which allows us to check which flags are or are not included in argparse statements.

Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-09-21 16:13:07 -07:00
Ben Greear
e64d357fb1 tr398v2: Add python CV script to support tr398 issue 2 test.
See --help option for usage.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-09-21 13:17:58 -07:00
Logan Lipke
c852944bd6 Script for probing ports for info, can create a station to be probed as well 2021-09-21 12:37:18 -07:00
Ben Greear
96cd15849a tr398: Support saving report to local directory.
While at it, rename class to TR398 instead of Dataplane
(old copy/paste mistake I guess)

Fix up help output.

Add support for test-rig option.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-09-21 12:07:58 -07:00
Matthew Stidham
e6cf6b9337 1. Create pandas_extensions.py
2. Remove unused imports

Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-09-21 11:11:04 -07:00
Chuck SmileyRekiere
0514f9a6f7 lf_check.py removed references for deprecated functionality igg
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-09-21 08:27:38 -06:00
Chuck SmileyRekiere
96f3366bfb lf_check.py : removed unused parameters
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-09-21 08:25:56 -06:00
Chuck SmileyRekiere
d509e02e10 lf_check.py : code cleanup for deprecated functionality
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-09-21 08:24:06 -06:00
Chuck SmileyRekiere
1eabb0f919 unused QA json files moved from tools to scripts_deprecated
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-09-21 07:12:43 -06:00
Chuck SmileyRekiere
4b3e25e6bf lf_check.py , X.json - updated test_parameters to test_rig_parameters to
avoid confusion

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-09-21 07:06:35 -06:00
Chuck SmileyRekiere
4d8001da08 lf_check.py code cleanup for supported QA funtionality. Removal of igg
support.  lf_check_igg.py in sandbox maintinas support.
Updated references in json files

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-09-21 06:58:41 -06:00
Chuck SmileyRekiere
e0d8b79094 lf_check.py copyied to /sandbox/lf_check_igg.py to save the work done
for supporting grafana, influx, and ghost.
ct_001_igg.json moved to /sandbox/ct_001_igg.json to have an example
of working with ghost / grafana

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-09-21 06:51:38 -06:00
Chuck SmileyRekiere
3e1e54b333 json updates for regression testsin
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-09-20 16:17:34 -06:00
Matthew Stidham
b8430794a5 Fixing some warnings which were popping up by replace is to -- and is not to !=
Minor help text fixes
Improving regression_test

Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-09-20 09:43:36 -07:00
Chuck SmileyRekiere
bad7c2102d ct_us_001_tests.json : testing auto vs AX
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-09-19 21:23:17 -06:00
Chuck SmileyRekiere
1c02c32ed2 ct_us_001_tests.json : updated tests
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-09-19 20:51:20 -06:00
Chuck SmileyRekiere
3ceb08eee5 json update 002
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-09-19 19:12:08 -06:00
Chuck SmileyRekiere
a64ac7da83 lf_check.py ct_002_AX12_dut.json : comments updates
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-09-19 08:07:50 -06:00
Chuck SmileyRekiere
3ac605c507 updated json for custom dataplane packets ordering
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-09-18 21:54:29 -06:00
Chuck SmileyRekiere
061d4c875f lf_webpage.py : changed permissions
ct_us_002_test.json - update test configuration

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-09-18 21:22:28 -06:00
Chuck SmileyRekiere
2609241188 adjusted timing for ap_auto tests in json
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-09-18 13:03:09 -06:00
Chuck SmileyRekiere
b0bce9de4d QA json updates
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-09-18 10:58:47 -06:00
Chuck SmileyRekiere
5c57da2ad3 ct_us_004_tests.json : updated tests ap_auto (001->004)
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-09-18 04:30:23 -06:00
Chuck SmileyRekiere
cd73cab61a lf_ap_auto_test.py : added configuration of ssh_port on init
lf_dataplane_test.py has this configuration als

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-09-18 04:11:38 -06:00
Chuck SmileyRekiere
d10f9f505c test_l3_longevity : logging for exception on reading xtop from the AP
json test updates for AP Auto

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-09-18 04:02:28 -06:00
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
Chuck SmileyRekiere
b8fa4377a7 test_l3_longevity.py : added module call to lf_report back in
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-09-17 07:01:47 -06:00
Chuck SmileyRekiere
f98ae6631f test_l3_longevity.py : used meld to bring back low level changes
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-09-17 06:53:39 -06:00
Chuck SmileyRekiere
a7585d4b81 ct_us_004_tests.json : getting a functional ap auto test
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-09-16 22:57:30 -06:00
Chuck SmileyRekiere
37f9163cb7 test_l3_longevity.py : added --lfmgr to be more standard
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-09-16 22:40:50 -06:00
Chuck SmileyRekiere
e7dc0964f0 ct_us_001_tests.json : AP test ran
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-09-16 22:36:23 -06:00
Chuck SmileyRekiere
a40e77b0d1 lf_check.py added user and password as a variable
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-09-15 22:35:14 -06:00
Matthew Stidham
53552f605f Improving update_dependencies by making pyjwt an optional update/install
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-09-15 18:47:29 -07:00
Matthew Stidham
c03a5051e3 Regression test updates and fixing some issues
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-09-15 18:46:25 -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
Chuck SmileyRekiere
5404d9068b ct_us_001_tests.json - change timing for ap tests to get results sooner
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-09-14 22:17:38 -06:00
Chuck SmileyRekiere
09315f3a60 json file checkin for QA
ct_002_AX12_dut.json - for Netgear
ct_003_LANforge_dut.json - for LANforge testing
ct_us_002_rig.json - remove dut info from the rig
ct_us_004_tests.json updates for AP testing

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-09-14 18:17:04 -06:00
Chuck SmileyRekiere
d54e9510c0 ct_us_001/2_rig.json updated database path
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-09-13 22:21:42 -06:00
Chuck SmileyRekiere
91feb3187d dut for AX88U has different BSSID based on testbed
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-09-13 21:47:49 -06:00
Chuck SmileyRekiere
cd99f745de ct_us_002/4 - moved database config to test_rig
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-09-13 21:13:18 -06:00
erinnerim
e992055fc1 Revert "importlib refactor lf_wifi_capacity_test.py"
This reverts commit 1285f3207c.
2021-09-10 18:02:13 -07:00
erinnerim
d6592d4fd3 Revert "importlib refactor test_l3_longevity.py"
This reverts commit 3b81071aa7.
2021-09-10 17:58:21 -07:00
erinnerim
cc6987d55f Revert "importlib refactor lf_dataplane_test.py"
This reverts commit 685f78ff08.
2021-09-10 17:58:12 -07:00
erinnerim
4c16ab8116 Revert "importlib refactor create_chamberview_dut.py"
This reverts commit aa2e67432b.
2021-09-10 17:57:58 -07:00
erinnerim
03a4f95153 Revert "importlib refactor ../ typo"
This reverts commit 34afad944f.
2021-09-10 17:57:48 -07:00
erinnerim
db4d3f9fe3 Revert "importlib refactor create_chamberview.py"
This reverts commit 198280d41f.
2021-09-10 17:57:33 -07:00
Matthew Stidham
680a6a777c Revert "py-scripts diff file and pip conversion scripts"
This reverts commit ab7f0ccf6b.
2021-09-10 16:21:35 -07:00
erinnerim
1285f3207c importlib refactor lf_wifi_capacity_test.py 2021-09-10 15:35:45 -07:00
erinnerim
198280d41f importlib refactor create_chamberview.py 2021-09-10 15:35:45 -07:00
erinnerim
34afad944f importlib refactor ../ typo 2021-09-10 15:35:45 -07:00