Commit Graph

3362 Commits

Author SHA1 Message Date
Matthew Stidham
fd4872a689 DUT information from KPI files
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-07-02 15:03:57 -07: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
anjali
534b584b72 removing changes 2021-07-03 00:18:19 +05:30
anjali
130dac16eb Add option to pass resource number eg for resource 2 [1.2.sta00] 2021-07-02 23:19:46 +05:30
anjali
ded93a3d33 Add option to pass resource number eg for resource 2 [1.2.sta00] 2021-07-02 23:02:07 +05:30
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
Erin Grimes
55fd6253b8 py-scripts: Removed comments from end of wanlink file.
These comments seemed useless to Ben.

Signed-off-by: Erin Grimes <erin.grimes@candelatech.com>
2021-06-30 15:30:57 -07:00
Jed Reynolds
c1e805e826 lf_json_autogen: updated method headers, some parameters for methods are wrong
Signed-off-by: Jed Reynolds <jed@candelatech.com>
2021-06-30 13:54:43 -07: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
419322bd6f GhostRequest Copy instead of moving the folders with data
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-06-29 15:16:12 -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
4dbdf2eaad cv_test_reports.py : found that was clobbering the local_path
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-06-29 14:39:42 -06:00
Chuck SmileyRekiere
7ca355c13d cv_test_manager.py , cv_test_reports.py : bug fix on report_dir
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-06-29 14:32:15 -06:00
Chuck SmileyRekiere
3408d58078 cv_test_reports.py : bug fix
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-06-29 14:09:21 -06: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
Chuck SmileyRekiere
335ef5859e cv_test_manager.py : update for lf_wifi_capacity.py and lf_dataplane_test.py
being run on a remote system from lanforge and needing to gather KPI

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-06-29 09:33:48 -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
eca0e61e19 ap_ctl.py : fixed usage -b is for baud
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-06-29 05:25:37 -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
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