Matthew Stidham
d1e4351b70
test rig command and other improvements to automation
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2021-06-24 16:59:13 -07:00
Logan Lipke
385a3d2c21
Changed default value for --source option
2021-06-24 16:48:23 -07:00
Logan Lipke
b3ddc59c9a
Added name column for report generation
2021-06-24 16:30:30 -07:00
Logan Lipke
9fa735bf56
commented unnecessary output and exit_fail() call causing the test to end prematurely when not using urls test type
2021-06-24 15:53:05 -07:00
Logan Lipke
af0b97d820
changed test_type check
2021-06-24 15:50:45 -07:00
Logan Lipke
d196ba58f1
Changed test type from urls/s to urls to prevent possible errors from '/'
2021-06-24 15:24:37 -07:00
Logan Lipke
a2464e62ee
Changed test type from urls/s to urls to prevent possible errors from '/'
2021-06-24 15:24:33 -07:00
Logan Lipke
d3d8b542dc
Removed comment
2021-06-24 14:31:49 -07:00
Chuck SmileyRekiere
2fbfeb1f29
lf_check.py : try except around writing the pdf
...
There needs to be some testing around writing the pdf when on the VM,
For now put in the try except code.
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-06-23 14:45:59 -06:00
Chuck SmileyRekiere
85bc68b293
lf_check.py : do not crash if cannot copy html to lf_check_latest.html
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-06-23 14:23:17 -06:00
Chuck SmileyRekiere
6db0c5721b
test_l3_longevity.py : On AP: No stations are currently associated.
...
No stations are currently associated, causes an exception when reading
the AP for the MAC address.
There are timing conditions when reading an AP/DUT.
The state of the DUT is read from serial, ssh, Telnet. The script expects
the AP/DUT in a specific state. The DUT state is not guaranteed.
What may help is for the customer API to interface to the Device Under Test
So as to isolate these timing issues and do log scraping for the correct
Response.
2021-06-23 06:28:47 -06:00
Jed Reynolds
170ef3da94
lf_json_autogen.py: comments out imports that dont resolve; fixes some returns
2021-06-22 17:11:13 -07:00
Matthew Stidham
9741c326bb
Keep Grafana snapshots for a long time by default
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2021-06-22 14:48:19 -07:00
Matthew Stidham
68b6ab3cd8
Proper sized grafana snapshots in Ghost
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2021-06-22 14:48:19 -07:00
Matthew Stidham
c2586f8343
Grafana and Ghost integration updates
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2021-06-22 14:48:19 -07:00
Logan Lipke
5f947ec16c
Added checks for cli options, makes better use of l4_cxprofile
2021-06-22 13:12:07 -07:00
Logan Lipke
7c9ca69060
Made changes to be compatible with different test types and consolidated scripts
2021-06-22 13:12:07 -07:00
Matthew Stidham
fabac8fb1c
Add mode flag to create_station.py
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2021-06-22 10:46:08 -07:00
Jed Reynolds
190e45f1fb
JAG: enum values corrected to have API values, toggle values {0,1} no longer bit-flags, no enums items _name_like_this_
...
Signed-off-by: Jed Reynolds <jed@candelatech.com >
2021-06-21 23:34:39 -07:00
Jed Reynolds
f8f1297450
JAG: updated Enums: parameters are more clearly strings, numerals or bit flags
...
Signed-off-by: Jed Reynolds <jed@candelatech.com >
2021-06-21 21:36:41 -07:00
Chuck SmileyRekiere
81dd3cd828
lf_check.py : corrected output on the Command for presentation
...
Running the command needed shlex to preserve the --raw_line, this affected
the printed output, shlex is only used for running
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-06-21 06:28:49 -06:00
Chuck SmileyRekiere
9c79fa1c04
lf_check.py : removed passing the command to the logger - modified formatting
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-06-20 16:40:01 -06:00
Chuck SmileyRekiere
2c980bb902
lf_check.py : cosmetic changes
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-06-20 16:20:03 -06:00
Chuck SmileyRekiere
10723d6d8b
lf_check.py : use shlex to split command yet preserve --raw_line parameters
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-06-20 16:07:20 -06:00
Chuck SmileyRekiere
1daf71ede4
lf_check.py : more descriptive on what the git sha represents
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-06-20 15:28:52 -06:00
Chuck SmileyRekiere
886cde2244
lf_check.py: update to have customized email title, text and remote lf_mgr
...
information
lf_check.json : json example
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-06-20 15:11:35 -06:00
Chuck SmileyRekiere
e7b1a639c8
lf_dataplane_test.py : added influx config read from json
...
lf_influx_db.json : sample file - may need a place for sample files
The influx db configuration can be read from a passed in json file
--influx_json <file.json> , there is not error checking
on if the parameters are entered correctly.
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-06-20 10:04:14 -06:00
Jed Reynolds
137471ef0a
updated lf_json_autogen.py
...
Signed-off-by: Jed Reynolds <jed@candelatech.com >
2021-06-18 17:57:27 -07:00
Jed Reynolds
dd8d9e37a1
check_large_files: adjust file compression to better suit APU2s, add progress indicator
...
Signed-off-by: Jed Reynolds <jed@candelatech.com >
2021-06-18 13:24:06 -07:00
Jed Reynolds
a541c0a1c5
turns off debug switch
...
Signed-off-by: Jed Reynolds <jed@candelatech.com >
2021-06-18 12:49:36 -07:00
Chuck SmileyRekiere
aa5fd50be6
test_l3_longevity.py : fixed path for ap_msched.txt
...
The path was being added twice
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-06-18 13:00:51 -06:00
Chuck SmileyRekiere
e381babd31
create_station.py: support arg for start id, comment to where common parser is
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-06-18 11:47:57 -06:00
Logan Lipke
463e6639ab
Changed cleanup and pre-cleanup methods
2021-06-17 16:12:54 -07:00
Logan Lipke
b05b2d93b0
Edited docstring to clarify scripts replaced by this script
2021-06-17 14:34:18 -07:00
Logan Lipke
30d7e2bff8
Moved scripts to scripts_deprecated, replaced by test_ip_variable_time.py Commit 2 of 2
2021-06-17 14:31:23 -07:00
Logan Lipke
83f1764f82
Created script to replace functionality of test_ipv4_variable_time.py and test_ipv6_variable_time.py, Commit 1 of 2
2021-06-17 14:30:37 -07:00
Logan Lipke
d75aaef850
Moved files being replaced by test_l4.py, Commit 2 of 2
2021-06-16 14:16:04 -07:00
Logan Lipke
f4874e0837
Script to consolidate functionality of all test_ipv4_l4 scripts
2021-06-16 14:12:36 -07:00
Chuck SmileyRekiere
6b61d87b74
test_l3_longevity.py : removed default for eth2 as downstream port
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-06-16 12:36:38 -06:00
Chuck SmileyRekiere
bf323a8241
lf_check.py: added support for loading custom database per test
...
lf_check_config_template.ini : example
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-06-16 09:57:31 -06:00
Chuck SmileyRekiere
bb1da78e28
lf_dataplane_test.py lf_dataplane_config.json : support for pulling report in the json file
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-06-16 07:19:21 -06:00
Matthew Stidham
5b1c188ac2
Include embedded dashboard in ghost page
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2021-06-15 15:56:58 -07:00
Chuck SmileyRekiere
76a1b7f09b
lf_dataplane_test.py : update comments for using -cli-socket 3990 -s LF_MGR
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-06-15 09:59:05 -06:00
Chuck SmileyRekiere
53c83af038
lf_dataplane_test.py : added support for json
...
lf_dataplane_config.json : sample json file for configuration of lf_dataplane_test.py
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-06-14 13:23:10 -06:00
sushant
1d71cee5f4
-help started working added %%
...
Signed-off-by: sushant <sushant.bawiskar@candelatech.com >
2021-06-14 21:41:44 +05:30
sushant
d08ff5ad3b
-help started working
...
Signed-off-by: sushant <sushant.bawiskar@candelatech.com >
2021-06-14 21:32:31 +05:30
Chuck SmileyRekiere
d24e61ab94
lf_check.py : updated epilog
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-06-14 08:13:45 -06:00
Chuck SmileyRekiere
f5e5c9a42d
lf_check.py : update to help
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-06-14 08:09:08 -06:00
Chuck SmileyRekiere
9e9994f895
lf_check.py : updated help
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-06-14 08:06:15 -06:00
Chuck SmileyRekiere
93af038665
lf_check.py : reduce some of the automatic logging
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-06-14 07:55:12 -06:00