Jed Reynolds
f686f848fb
lf_json_autogen.py: updates flag computation:
...
- can use IntFlag refs and/or strings
- can clear flags now
- turns down debug messages
Signed-off-by: Jed Reynolds <jed@candelatech.com >
2021-08-16 13:10:48 -07:00
Jed Reynolds
26b550f2d0
jbr_jag_test.py: tests combination of setting and clearing port flags
...
Signed-off-by: Jed Reynolds <jed@candelatech.com >
2021-08-16 13:07:30 -07:00
Jed Reynolds
19f12820f8
jbr_jag_test.py: more exception handling
...
Signed-off-by: Jed Reynolds <jed@candelatech.com >
2021-08-16 12:00:58 -07:00
Jed Reynolds
43e7afd882
GUI: JAG: fixes flaw parsing flag names when passed parameters were IntFlags
...
Signed-off-by: Jed Reynolds <jed@candelatech.com >
2021-08-16 12:00:21 -07:00
smileyrekiere
e4ca8851a3
moving nolonger used tools/*.json to scripts debrecated
...
Signed-off-by: smileyrekiere <smileyrekiere@gmail.com >
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-08-16 09:28:00 -06:00
Chuck SmileyRekiere
051f82950d
lf_check.py : moved set_dut_name to parameters json parce routine
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-08-16 09:06:24 -06:00
Chuck SmileyRekiere
2940559185
lf_check.py: dut_set_name needed to be under the test_rig or test configuration,
...
removed from the database configuration
json files updated.
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-08-16 08:51:30 -06:00
Chuck SmileyRekiere
709e6fcfa8
ct_test_lf_check.json : test file for running lf_check
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-08-15 22:32:26 -06:00
Chuck SmileyRekiere
e45e51a76e
lf_qa.py : test for the correct dut information
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-08-15 22:19:30 -06:00
Chuck SmileyRekiere
c86da48d56
lf_check_ct_us_001.json : test to verify lf_check.py can call lf_check.py tests
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-08-15 21:48:28 -06:00
Chuck SmileyRekiere
952f0f226e
ct_tests.json : updated short test list
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-08-15 21:28:26 -06:00
Chuck SmileyRekiere
28fbcb1e88
lf_qa.py : debug code for kpi.csv occasionally showing none in the database
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-08-15 21:20:50 -06:00
Chuck SmileyRekiere
1ee973e456
lf_qa.py : typo fix
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-08-15 20:36:53 -06:00
Chuck SmileyRekiere
00be3d874f
ct_tests.json : changes for lf_qa.py testing
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-08-15 19:47:42 -06:00
Chuck SmileyRekiere
23bb48f5db
ct_tests.json : test , using lf_qa.py database
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-08-15 19:42:18 -06:00
Chuck SmileyRekiere
367262271f
lf_check.py : debugging , separate json for rig, tests
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-08-15 10:52:39 -06:00
Chuck SmileyRekiere
d0c5566f41
lf_check.py : added iterations to the individual tests
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-08-15 09:27:56 -06:00
Chuck SmileyRekiere
d84e82cac1
lf_qa.py : dut to get the latest in the database, working with dictionaries
...
then convert. Need to update dynamic graphs need to reflect DUT information
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-08-15 08:15:47 -06:00
Chuck SmileyRekiere
57720fe1db
lf_qa.py debug information on the DUT information
...
1. The naming for the empty DUT strings changed. The DUT is taken from
the kpi, this is a step closer to a fix of wanting the latest DUT information
from the Database yet not full proof.
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-08-15 06:49:34 -06:00
Chuck SmileyRekiere
956a6ddb43
lf_check.py , lf_qa.py : support for reporting mechanisms
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-08-14 17:10:35 -06:00
Chuck SmileyRekiere
99f9871ee2
lf_qa.py : debug for dut information
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-08-14 16:27:14 -06:00
Jed Reynolds
f5c68076df
lf_json_autogen.py: the set_flags and clear_flags methods moved out of each enum class into the LFJsonPost class
...
Added parsing to test for string flag names, but flag enums by ref don't parse yet
Signed-off-by: Jed Reynolds <jed@candelatech.com >
2021-08-13 17:52:50 -07:00
Jed Reynolds
e45459dbf2
jbr_jag_test.py: testing setting flags and clearing flags by string name and by enum reference
...
Signed-off-by: Jed Reynolds <jed@candelatech.com >
2021-08-13 17:52:50 -07:00
Jed Reynolds
283aa8246d
jbr_jag_test.py: testing out new flag methods
...
Signed-off-by: Jed Reynolds <jed@candelatech.com >
2021-08-13 17:52:50 -07:00
Jed Reynolds
9393d995fe
lf_json_autogen.py: fixed bug with appending flags
...
Signed-off-by: Jed Reynolds <jed@candelatech.com >
2021-08-13 17:52:50 -07:00
Matthew Stidham
f2f8b06d21
Merge branch 'master' of github.com:greearb/lanforge-scripts
2021-08-13 16:57:27 -07:00
Matthew Stidham
2e5a544afa
Adding functionality to use flags when modifying and creating stations, DUTs, and VAPs
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2021-08-13 16:56:20 -07:00
Chuck SmileyRekiere
a245c97d22
ct_igg.json : json file for influx, grafana, and ghost configuration
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-08-13 15:30:43 -06:00
Chuck SmileyRekiere
0b1d8d57ac
lf_check.py : missed edit from previous commit
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-08-13 15:00:33 -06:00
Chuck SmileyRekiere
847face100
lf_check.py , provide separate json for influx, grafana, and ghost
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-08-13 14:58:39 -06:00
Chuck SmileyRekiere
1f00c55c89
lf_check.py : separated json_rig and json_test processing
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-08-13 13:36:27 -06:00
Jed Reynolds
9bfd09a292
lf_json_autogen.py: enum classes are re-worked to be stateless
...
Signed-off-by: Jed Reynolds <jed@candelatech.com >
2021-08-13 11:57:34 -07:00
Chuck SmileyRekiere
d6cda8ba72
scripts_deprecated/lf_check_orig.py : 8/13/2021- save prior to rig / test separation
...
1. lf_check.py is being changed to support the rig and the tests in
separate json imputs. The original version had the tests and the test
rig configuration in one file. Prior to enbarking on the sit work
will save a snap shot for those wanting to work with the original file.
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-08-13 09:54:39 -06:00
Chuck SmileyRekiere
bd1e78e9f2
ct_us_001_rig.json : json configuration for qa dashboard
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-08-13 09:44:03 -06:00
Chuck SmileyRekiere
77064eb9ab
lf_check.py : host ip for qa_url
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-08-13 08:37:48 -06:00
Chuck SmileyRekiere
2034ea1044
lf_check.py add ip to qa report
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-08-13 08:30:06 -06:00
Chuck SmileyRekiere
f24f945c14
lf_check.py : qa url updated for presentation from server
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-08-13 08:11:15 -06:00
Chuck SmileyRekiere
adb382ea35
lf_check.py , consolidated naming html_report , report_html
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-08-13 07:57:24 -06:00
Chuck SmileyRekiere
56479b56c2
lf_check.py : updated for qa reporting
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-08-13 07:50:22 -06:00
Chuck SmileyRekiere
2a8e89c45c
lf_qa.py : try except to indicate that the data base may have moved
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-08-13 06:35:18 -06:00
Chuck SmileyRekiere
40d643a63b
ct_us_001.json updated the test for new location of lf_qa.py
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-08-13 05:54:48 -06:00
Chuck SmileyRekiere
7a3ec03bbf
moved lf_qa.py from sandbox to tools
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-08-13 05:52:02 -06:00
Chuck SmileyRekiere
42cf023deb
lf_check.py: check for error in stderr for declaring failure
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-08-13 05:50:14 -06:00
Chuck SmileyRekiere
d1f6b70c21
lf_check.py : updated to check for error in stderr
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-08-13 05:44:31 -06:00
Chuck SmileyRekiere
d963dde407
ct_us_001.json : updates to short test
...
lf_check.py : initial steps towards getting radio firmware
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-08-12 21:45:33 -06:00
Jed Reynolds
630e7851e1
lf_json_autogen.py: passes PEP8 whitespace checks
...
Signed-off-by: Jed Reynolds <jed@candelatech.com >
2021-08-12 17:35:56 -07:00
Jed Reynolds
22cb75b0d3
lf_json_autogen.py: now generated with most PEP8 recommended whitespace guidelines
...
This includes proper word-wrapping. This passes most checks using Idea's python checker.
Signed-off-by: Jed Reynolds <jed@candelatech.com >
2021-08-12 17:35:56 -07:00
Chuck SmileyRekiere
cac254107b
lf_check.py : additional removal for the --use_json flag as json will
...
be the only configuration supported. Using the flag --use_json will
a Note that the --use_json is deprecated.
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-08-12 16:53:45 -06:00
Chuck SmileyRekiere
1b0700e1a7
ct_us_001.json updated short test
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-08-12 16:45:20 -06:00
Chuck SmileyRekiere
70a6a130d3
lf_check.py : remove support for .ini files
...
Note: the .ini was supported early , json support was added and
provided better syntax checking as compared to .ini
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-08-12 16:32:28 -06:00