Commit Graph

1634 Commits

Author SHA1 Message Date
Chuck SmileyRekiere
4b8965a1f2 test_l3_longevity.py : updated example for using --ap_ofdma_stats
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-07-05 07:26:21 -06:00
Chuck SmileyRekiere
48102aca66 test_l3_longevity.py : bug fix extra command left in
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-07-05 07:04:46 -06:00
Chuck SmileyRekiere
3b774cc2ea test_l3_longevity.py : capture the 5 and 2.4 umsched and msched
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-07-05 06:51:21 -06:00
Chuck SmileyRekiere
e9eda09d5b test_l3_longevity.py : check ap_ofdma 5g stats : wl -i wl1 muinfo -v
and ap_ofdma 2.4g stats : wl -i wl0 muinfo -v  and sor to a file

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>

# Conflicts:
#	py-scripts/test_l3_longevity.py
2021-07-05 06:24:16 -06:00
Chuck SmileyRekiere
d99857b4ce lf_check.py : support for influx json and ghost json to be passed in
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-07-05 06:20:56 -06:00
Chuck SmileyRekiere
45cab513bc test_l3_longevity.py : add channel utilization to the statistics
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-07-03 09:04:33 -06:00
Chuck SmileyRekiere
617bac679c test_l3_longevity.py : added debugging for channel_utilization
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-07-03 08:58:09 -06:00
Chuck SmileyRekiere
9d5f78e70f test_l3_longevity.py: turn off some of the print statements
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-07-03 08:51:32 -06:00
Chuck SmileyRekiere
71815a15cb test_l3_longevity.py : added channel utilization
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-07-03 06:55:19 -06:00
Matthew Stidham
9bce9c2dcc Enables the user to set the number_template argument
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-07-02 13:33:22 -07:00
Matthew Stidham
864878b3e6 Fix instructions to set DUT in lf_wifi_capacity_test
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-07-02 13:27:21 -07:00
Chuck SmileyRekiere
41b09a3458 lf_check.py : do not error on ghost push
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-07-01 14:30:26 -06:00
karthikaeyetea
b794071bf3 Merge branch 'master' of https://github.com/greearb/lanforge-scripts 2021-06-30 21:14:29 +05:30
karthikaeyetea
651dd74422 font-size of x-axis, graph title, alignment of x-values are added 2021-06-30 21:13:18 +05:30
Chuck SmileyRekiere
c43820da3f test_ip_variable_time.py : changed permissions
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-06-30 06:12:37 -06:00
Nikita Yadav
45133a8276 adding changed banner style and adding setup table 2021-06-30 13:19:02 +05:30
Matthew Stidham
e100a38c22 Clean up redundant directories and add library to update_dependencies
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-06-29 16:28:43 -07:00
Matthew Stidham
8014226b32 Major Ghost script improvements and additions
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-06-29 14:56:54 -07:00
Chuck SmileyRekiere
9945e42f3c py-json: cv_test_manager.py , cv_test_reports.py
py-scripts: lf_dataplane_test.py lf_wifi_capacity_test.py

local_path updated to local_lf_report_dir

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-06-29 10:33:52 -06:00
jitendracandela
7d60fcfbb0 changes in lf bar graph(value shows on the top of the bar) 2021-06-29 20:09:15 +05:30
jitendracandela
731883f5f7 changes in lf bar graph(value shows on the top of the bar) 2021-06-29 17:37:08 +05:30
Chuck SmileyRekiere
99736ceaaa lf_check.py : added the ability to use the lf_report path name to be passed
in a report

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-06-29 06:03:50 -06:00
Chuck SmileyRekiere
04c7a4135b lf_wif_capacity_test.py : set the report path location using local_path
Added the arg for args parser.  the local_path was already plumbed though
cv_test_manager.py and cv_test_reports.py

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-06-25 15:32:06 -06:00
Matthew Stidham
f95bcf3948 correct csv file naming in csv_to_influx.py
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-06-25 13:53:26 -07:00
Chuck SmileyRekiere
3494dbed89 lf_check.py : comment updates updated GENERIC NOTES:
A. for build information on LANforgeGUI : /home/lanforge ./btserver --version
 B. for the kernel version uname -r (just verion ), uname -a build date

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-06-25 13:10:13 -06:00
Chuck SmileyRekiere
5ef8761d9c lf_dataplane_test.py : fir pull_report be able to select the local path
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-06-25 10:58:47 -06:00
Chuck SmileyRekiere
eaa75b84c8 lf_check.py : updated paths in report so path does not have to be edited
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-06-24 23:53:25 -06:00
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