Commit Graph

4084 Commits

Author SHA1 Message Date
erinnerim
8d1268d825 add quali lanforge-resource, .gitignore append *.zip and *.env 2021-10-06 11:06:07 -07:00
Chuck SmileyRekiere
b1050b7404 .. dut.json files updated for wireless network dict
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-10-06 10:36:07 -06:00
Chuck SmileyRekiere
dc977e7b45 lf_qa.py : removed check for show as no longer supporting plotly dash
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-10-06 10:04:34 -06:00
Chuck SmileyRekiere
06beca75aa lf_qa.py removed dash components
1. removed the dash components as there will be a server for displaying
results and
2. copyied lf_qa.py version prior to updates to sandbox/lf_qa_dash.py

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-10-06 08:17:15 -06:00
Chuck SmileyRekiere
f278640d63 lf_csv.py , removed the kpi functionality form csv common library
lf_kpi_csv.py added this file for kpi functionality ,
This file will be the start of a kpi.csv generating library to maintain
format for other scripts

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-10-06 07:06:42 -06:00
Chuck SmileyRekiere
7519d18b56 lf_check.py : removed unused code for individual 2G, 5G and 6G configuration
which si replaced by wireless_network_dict

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-10-06 06:52:43 -06:00
Chuck SmileyRekiere
2e9e6013c9 lf_check.py : use_ssid_idx= for any script that does not directly use
ssid_idx= which is passed to LANforge.

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-10-06 06:42:42 -06:00
Chuck SmileyRekiere
5e44fa72e0 lf_check.py : account for 5.4.3 , ERROR: Could not find component: TestTag
this is still considered a pass

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-10-06 06:17:21 -06:00
Chuck SmileyRekiere
31734eaac4 lf_check.py : look in stdout for test failure
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-10-06 06:06:50 -06:00
Chuck SmileyRekiere
bcfdb1063f lf_check.py : look for error in stdout
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-10-05 22:33:30 -06:00
Chuck SmileyRekiere
d6e9c30083 ct QA json update
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-10-05 17:51:38 -06:00
Chuck SmileyRekiere
b5cad4a698 ct_ QA fixed network dictionary typo
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-10-05 17:45:44 -06:00
Chuck SmileyRekiere
23bd27d9ac ct_ - QA information updated for using the wireless_network configuration
for tests.

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-10-05 17:34:40 -06:00
Chuck SmileyRekiere
daabc352f8 lf_check.py : updating code to work with wireless network configuration
upto endless number of network configurations .

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-10-05 16:43:41 -06:00
Ben Greear
2093d68a91 mesh: Improve --help output.
Use double-backslash to fix missing newlines when
viewing --help output.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-10-05 12:37:35 -07:00
Jed Reynolds
df78928b62 run_cv_scenario.py: renames method from refresh() to wait_for_db_load_and_sync()
Signed-off-by: Jed Reynolds <jed@bitratchet.com>
2021-10-05 09:37:34 -07:00
Chuck SmileyRekiere
e22c7c0eb8 ct_001_AX88U_dut.json : updated for having upper case in test configuration
match the configuration of the DUT

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-10-05 07:28:57 -06:00
Chuck SmileyRekiere
1ea61f07ee lf_check.py : exit if there are exceptions reading the radio data.
No radio data indicates that the LANforge GUI may not be running

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-10-05 07:03:47 -06:00
Chuck SmileyRekiere
8d8585fa31 lf_check.py : making the relationship between the json and test parameters
better understood.

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-10-04 16:17:34 -06:00
Matthew Stidham
097d2f42f5 Improving py-scripts files to fix errors with regression test
updating to_pip.sh

Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-10-04 11:51:37 -07:00
Matthew Stidham
8f2fa4bf8c * We don't need to import LFUtils in lfcli_base
* local_realm in lf_attenmod is unused.
* local_realm in attenuator_profile is unused, because I'm switching to inheritance as part of my work eliminating redundancy.

Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-10-04 11:51:37 -07:00
erinnerim
d3d3af77f5 create_wanlink.py typo in parser: prog 2021-10-03 16:36:20 -07:00
erinnerim
c222700775 implement CLI for create_wanlink.py 2021-10-03 16:33:10 -07:00
erinnerim
6ca62926cb delete old (extra) py-scripts/create_wanlink.py 2021-10-03 16:06:26 -07:00
Jed Reynolds
ad188af0ba run_cv_scenario.py: adds more timing and refresh logic
Use the refresh() method between loading databases to force updates of text blobs, DUTs and profiles.
Look for last-updated times so as to not wait overly long for text blobs to update.
Adds more cv sync calls to make sure that CV has gotten refreshed.

Signed-off-by: Jed Reynolds <jed@bitratchet.com>
2021-10-01 15:24:03 -07:00
Chuck SmileyRekiere
2ddf6e10a9 lf_report.py : added args parser so the import test with --help will not
produce output

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-10-01 11:54:51 -06:00
Chuck SmileyRekiere
b3cabba913 lf_report_test.py : added --help so import test would not produce output
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-10-01 11:48:39 -06:00
Matthew Stidham
d8fc439bd3 regression test improvements
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-10-01 08:54:29 -07:00
Chuck SmileyRekiere
556045bb2b lf_check.py : save logs and gather data on Timeout condition if possible
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-10-01 08:34:57 -06:00
Chuck SmileyRekiere
2bae23156c lf_check.py : fixed funtion calls to loading databases
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-10-01 08:11:42 -06:00
Jed Reynolds
7e33f05fff monitor_rvr.py created to demonstrate polling the status area at the bottom of a CV report
Signed-off-by: Jed Reynolds <jed@bitratchet.com>
2021-10-01 00:05:35 -07:00
Jed Reynolds
5199851225 example of how to monitor attenuator values for Nasir Makkiya <NMakkiya@sierrawireless.com>
Signed-off-by: Jed Reynolds <jed@bitratchet.com>
2021-09-30 22:03:47 -07:00
Chuck SmileyRekiere
055b1a9b0a l3_cxprofile.py , multicast_profile.py : updated pprint.pprint
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-09-30 15:11:58 -06:00
Matthew Stidham
e790d487b1 Make it so VAP profile works with Realm again
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-09-30 14:03:33 -07:00
Matthew Stidham
b6013003ef Fixing regression_test problems
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-09-30 12:55:31 -07:00
Chuck SmileyRekiere
4744bc488a lfcli_base.py : changed from pprint import pprint to import pprint
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-09-30 13:25:07 -06:00
karthikaeyetea
dcfb3f385a added max_speed in If block of create() 2021-09-30 23:20:37 +05:30
Ben Greear
41200068fd ap-auto: Fix help output formatting.
Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-09-29 16:38:58 -07:00
Ben Greear
82b5d61de2 rvr: Fix pulling to local directory.
My earlier attempt missed passing in the cmd-line-arg to the
code that actually used it.

And, add more useful printout to the CV test mgr to show what it
is pulling where.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-09-29 16:31:52 -07:00
Chuck SmileyRekiere
6846b2a119 test_l3_longevity.py : added 6g functionality
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-09-29 17:08:32 -06:00
Ben Greear
cf9f8da0ce rvr: Add local_lf_report_dir argument.
Untested as of now.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-09-29 14:32:04 -07:00
Ben Greear
9553e7c92d rvr: Add example command to the help.
Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-09-29 14:23:11 -07:00
Chuck SmileyRekiere
df0accb650 lf_json_convert.py : prefix with conversion to have cookbook_ and leave the
.json extension.

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-09-29 06:28:43 -06:00
Chuck SmileyRekiere
dd5ac0140f lf_json_convert.py : updated to work around the --raw_lines with \"
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-09-29 06:12:41 -06:00
jitendracandela
7e9b2565c0 added quiesce_after 2021-09-29 11:48:12 +05:30
Chuck SmileyRekiere
373323f9c7 ct_us_001_rig.json : cleaned up spaces
lf_json_convert.py new tool for converting json to but used in cookbooks

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-09-28 16:43:14 -06:00
Jed Reynolds
f4e45aadeb set_port.py: corrects updated LFJsonCommand references that have changed
Signed-off-by: Jed Reynolds <jed@bitratchet.com>
2021-09-28 09:11:24 -07:00
Chuck SmileyRekiere
28a23a3221 ct_us_001_tests.json : added lf_help_check.bash to the regression
ct_us_004_tests.json : added lf_help_check.bash to the regression

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-09-28 06:17:48 -06:00
Chuck SmileyRekiere
12db2f0fc3 connection_test.py : moved to sandbox
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-09-28 06:02:53 -06:00
Jed Reynolds
7bfc9ee7e0 lf_json_autogen.py: significant updates from the jag-2021-09-27 branch
- parameter types
- stand-alone request management
- session token
- expanded class hierarchy:
    BaseSession <- LFSession,
    LFBaseRequest <- JsonQuery <- LFJsonQuery
    LFBaseRequest <- JsonCommand <- LFJsonCommand

Signed-off-by: Jed Reynolds <jed@bitratchet.com>
2021-09-28 01:14:15 -07:00