Matthew Stidham
098c0398ba
Revert "Fix test_l3_longevity regressions and pending problems"
...
This reverts commit cbe5286f83 .
2021-11-09 19:00:28 -08:00
Matthew Stidham
cbe5286f83
Fix test_l3_longevity regressions and pending problems
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2021-11-09 18:54:46 -08:00
Matthew Stidham
d16bdd9f7a
Fix test_l3_longevity whitespace errors
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2021-11-09 17:30:23 -08:00
Chuck SmileyRekiere
8271e54714
ct_us_001_rig.json : update the rig
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-11-09 10:35:57 -07:00
Chuck SmileyRekiere
a5ddd4047f
ct_us_*.json test updates
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-11-09 07:38:53 -07:00
Chuck SmileyRekiere
88e8517382
lf_qa.py added update_layout(autotypenumbers='convert types') plotly latest
...
version is updated so needed to treat numbers as objects.
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-11-09 06:19:03 -07:00
Nikita Yadav
ad1785cfe7
class used for getting attenuator serial number
2021-11-09 18:33:05 +05:30
Jed Reynolds
ec76d13ba5
LFRequest.py: json_post debug message more readable
...
Signed-off-by: Jed Reynolds <jed@bitratchet.com >
2021-11-08 22:28:54 -08:00
Chuck SmileyRekiere
35081c3fd8
ct_us_001_scripts.json replace with variables
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-11-08 21:00:47 -07:00
Chuck SmileyRekiere
3315cff3ea
*rig.json update the upstream port to alias
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-11-08 20:39:16 -07:00
Matthew Stidham
c4511ad39a
Fix LFRequest.get so it inherits debug commands from the class
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2021-11-08 18:52:26 -08:00
Jed Reynolds
8b86e89033
run_cv_scenario: lists test instances and does prints thenm out
...
Fixes example in argparse as well.
Signed-off-by: Jed Reynolds <jed@bitratchet.com >
2021-11-08 14:56:10 -08:00
Jed Reynolds
2f72736e56
run_cv_scenario.py: logic can handle a "cv list_instances"
...
Instance names are in the [warnings] block of the response
Signed-off-by: Jed Reynolds <jed@bitratchet.com >
2021-11-08 13:40:53 -08:00
Jed Reynolds
8678a55862
jbr_monitor_bssids.py: checks argument type for a nested list
...
Signed-off-by: Jed Reynolds <jed@bitratchet.com >
2021-11-08 13:40:53 -08:00
Chuck SmileyRekiere
86bb4fa42c
test_l3_longevity.py : updated destination so --mgr and --lfmgr added dest='lfmgr'
...
updated the scripts tesing to allow for looped tests.
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-11-08 10:58:58 -07:00
Chuck SmileyRekiere
a0e7685f3c
ct_us_00X_tests.json : rename of nightly to be a sorter test
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-11-07 09:46:16 -07:00
Chuck SmileyRekiere
958427c1e2
Jira: LAN-715 port_probe.py : defaut bw = 20 to fix
...
UnboundLocalError: local variable 'bw' referenced before assignment
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-11-06 14:56:43 -06:00
Chuck SmileyRekiere
ae5b49d4d5
lf_check.py : pep8 and white space
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-11-06 12:18:06 -06:00
Chuck SmileyRekiere
2899eddb07
lf_check.py : verify the scenerio.py is called with the correct parameters
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-11-06 12:10:39 -06:00
Chuck SmileyRekiere
f9c9efdd4e
lf_check.py : load custom db prior to each test, fixed call to scenario.py
...
updated rig.json for current db handling
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-11-06 11:26:45 -06:00
Chuck SmileyRekiere
b4a9608d3f
lf_check.py : added db_override to put in unique db from command line
...
ct_us_00X_rig.json : generic name for db in json
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-11-06 06:21:42 -06:00
Matthew Stidham
20be39a531
improve regression_test bycommenting test which freezes test
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2021-11-05 15:29:58 -07:00
Matthew Stidham
f2a6ab15bd
Revert "Deprecating l3_cxprofile2.py"
...
This reverts commit d50907c8b3 .
2021-11-05 13:33:21 -07:00
Matthew Stidham
d50907c8b3
Deprecating l3_cxprofile2.py
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2021-11-05 12:39:55 -07:00
Matthew Stidham
6e2900e4e8
Fix LFRequest queries
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2021-11-05 12:11:02 -07:00
Matthew Stidham
9963b32ba9
Set default min_bps in l3cxprofile in order to make it easier to use in command line.
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2021-11-05 11:58:11 -07:00
Matthew Stidham
0347f70a89
regression_test always hangs on test_1k
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2021-11-05 10:46:05 -07:00
Matthew Stidham
5983a8add5
Remove lanforge-scripts pip recursion
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2021-11-05 10:34:16 -07:00
Matthew Stidham
52ded1c08b
We don't want to downgrade any systems
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2021-11-05 10:29:03 -07:00
Matthew Stidham
5879f64646
update_dependencies needs to ensure pip is up to date before running updates
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2021-11-05 10:20:23 -07:00
Matthew Stidham
266118cc63
Requirements.txt initial commit
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2021-11-05 10:09:05 -07:00
Matthew Stidham
3fee19c2e6
setup.py was missing pyjwt
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2021-11-05 09:36:02 -07:00
jitendracandela
ec1374c947
fixed lanforge error message
2021-11-05 17:16:50 +05:30
Matthew Stidham
cce2d22456
Only import ap_ctl if Pexpect_serial is installed, because of Windows incompatibility issues
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2021-11-04 17:33:04 -07:00
Matthew Stidham
468279aef2
Remove reference to non-existant file and add in text at the bottom of the script telling where to find the whl
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2021-11-04 15:23:58 -07:00
Matthew Stidham
95ab91df2e
Improve exit commands in to_pip.sh
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2021-11-04 15:13:36 -07:00
Matthew Stidham
b1b6173d14
Create python wheel by default. Move current folder to lanforge_scripts
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2021-11-04 14:24:27 -07:00
Matthew Stidham
878fa04d15
need to ensure build is installed and up to date
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2021-11-04 14:01:33 -07:00
Matthew Stidham
8340b0419e
Don't rename parent folder, create wheel at end of process.
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2021-11-04 13:29:49 -07:00
Matthew Stidham
ee120b43e2
python_requires statement correction
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2021-11-04 13:13:01 -07:00
Matthew Stidham
eddbc31901
Update to_pip so it doesn't import non-existent files and removes all remaning importlib commands
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2021-11-04 12:53:35 -07:00
Jed Reynolds
5e7e7e744f
jbr_monitor_bssids.py: this timing works better for retrieving events
...
maybe on APU2 hardware this just takes significantly longer
Signed-off-by: Jed Reynolds <jed@bitratchet.com >
2021-11-04 00:22:49 -07:00
Jed Reynolds
189da24e6f
lanforge_api.py: removes typing subscripts not present in python 3.7.7
...
new flag for add_sta_flags
Signed-off-by: Jed Reynolds <jed@bitratchet.com >
2021-11-04 00:10:27 -07:00
Jed Reynolds
59b18ea38f
logg.py: removes typing not present in python 3.7.7
...
fixes datetime.now reference
Signed-off-by: Jed Reynolds <jed@bitratchet.com >
2021-11-04 00:08:16 -07:00
Jed Reynolds
abc422ddf8
jbr_monitor_bssids.py: removes typing subscripts not present in python 3.7.7
...
Signed-off-by: Jed Reynolds <jed@bitratchet.com >
2021-11-04 00:07:36 -07:00
Jed Reynolds
c469fa5426
check_large_files: fixes neglected disk status of /boot2
...
Ignoring this partition made kinstall fail with a disk-full error.
Important to update kinstall to handle /boot2 refresh as well.
Signed-off-by: Jed Reynolds <jed@bitratchet.com >
2021-11-03 22:11:27 -07:00
Jed Reynolds
8a0b5c22f0
LFRequest.py: converting if(debug):print() to self.logger.debug() statements
...
This change hooks into the global python logging instance and exercises level based logging
without more advanced logic like "digest/json/http/gui" as documented elsewhere. Need to
establish the correctness of this usage before moving forward.
Signed-off-by: Jed Reynolds <jed@bitratchet.com >
2021-11-03 19:53:30 -07:00
Jed Reynolds
2f7baf2987
lfcli_base.py: can now import lanforge_client.logg
...
Adds notes on where present logg() function is being used
Signed-off-by: Jed Reynolds <jed@bitratchet.com >
2021-11-03 19:53:30 -07:00
Jed Reynolds
4f2fe934a3
JAG: refactoring extracted string methods to strutil.py module
...
Signed-off-by: Jed Reynolds <jed@bitratchet.com >
2021-11-03 19:53:30 -07:00
Jed Reynolds
3a17f699cc
LFUtils.py can now import Logg
...
Signed-off-by: Jed Reynolds <jed@bitratchet.com >
2021-11-03 19:53:30 -07:00