Commit Graph

1557 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
Chuck SmileyRekiere
465b70b3d3 lf_check.json , lf_check_config_template.ini shortened
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-06-14 07:37:51 -06:00
Chuck SmileyRekiere
65b57792bd lf_check.py : added back in line accidently deleted
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-06-14 07:18:27 -06:00
Chuck SmileyRekiere
2ed8b19bb9 lf_check.py : updated help and removed white space
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-06-14 07:15:27 -06:00
Chuck SmileyRekiere
80b5178085 lf_check.py : updating to support .json configuration
lf_check.json : sample json configuration file

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-06-14 06:51:12 -06:00
Chuck SmileyRekiere
35dea2539b lf_check_config_template.ini : added suite example
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-06-13 18:11:23 -06:00
Chuck SmileyRekiere
f33391a627 PRODUCITON_RUN flag is now a arg parameter to lf_check.py
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-06-13 17:43:39 -06:00
Chuck SmileyRekiere
c281487500 lf_read_json.py : simple helper file
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-06-13 17:18:56 -06:00
Chuck SmileyRekiere
ebac5c534d lf_check.py : clean up comments
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-06-13 16:30:26 -06:00
Chuck SmileyRekiere
f31fa056cf lf_check.py : select production run form command line
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-06-13 16:05:05 -06:00
Chuck SmileyRekiere
1dcc3e73f8 lf_check.py : exit if suite is not present in .ini
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-06-13 15:34:32 -06:00
Chuck SmileyRekiere
f310823230 lf_check.py : test suite name can be passed in with --suite flag, or defaulte to TEST_DICITONARY
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-06-13 15:26:05 -06:00