Commit Graph

1833 Commits

Author SHA1 Message Date
Chuck SmileyRekiere
ce436fdfe6 kpi_csv_sq.py : save html image as well as each png image
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-08-07 07:34:25 -06:00
Chuck SmileyRekiere
06459ebd8f test_l3_longevity.py : bug fix, updated to use ap_stat_2g from ap_stat
when reading the ap

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-08-07 06:42:42 -06:00
Chuck SmileyRekiere
4a75bdbb29 lf_dash.py : minor typo fix
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-08-06 17:55:12 -06:00
Chuck SmileyRekiere
5e3c461126 lf_dash.py : put in timing
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-08-06 17:53:18 -06:00
Chuck SmileyRekiere
3c1131074e kpi_csv_sq.py : updates from lf_dash.py
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-08-06 15:59:34 -06:00
Chuck SmileyRekiere
2e0f9ccd2e lf_dash.py : remove n_clicks
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-08-06 15:18:38 -06:00
Chuck SmileyRekiere
393a3644e5 lf_dash.py : remove callbacks for now
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-08-06 15:13:57 -06:00
Chuck SmileyRekiere
9892b1dd73 lf_dash.py : remove scrolling
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-08-06 15:04:47 -06:00
Chuck SmileyRekiere
8c5a457ca1 lf_dash.py : update to comment
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-08-06 15:04:47 -06:00
Matthew Stidham
d8c3753fbd No debug command in lf_check.py
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-08-06 13:15:51 -07:00
Matthew Stidham
4bce5501c8 Check to make sure that IP addresses are present
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-08-06 13:09:04 -07:00
Jed Reynolds
c17031807f jbr_jag_test.py: test gets multiple ports 2021-08-06 12:32:35 -07:00
Chuck SmileyRekiere
1f6cf7cfac lf_dash.py : increased the size of the scroll window
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-08-06 10:26:07 -06:00
Matthew Stidham
6a95930a09 Better output when user types in a wrong port in lf_check.py
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-08-06 09:20:50 -07:00
Chuck SmileyRekiere
aa3517897e lf_dash.py : only generate png files once when running
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-08-06 09:23:36 -06:00
Chuck SmileyRekiere
c3c859180a lf_dash.py : comment edit
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-08-06 08:29:17 -06:00
Chuck SmileyRekiere
399a53b895 lf_dash.py : try except added around appending to db with different columns
1. the databases need to match with the column layout for kpi, the db may get
corrupted, either enter a new db or regenerate old one.

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-08-06 07:42:50 -06:00
Chuck SmileyRekiere
7fbd233b71 lf_dash.py : print statement update
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-08-06 07:35:13 -06:00
Chuck SmileyRekiere
48db0f6cc7 lf_dash.py : added try except around trying to read empty database
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-08-06 07:32:41 -06:00
Chuck SmileyRekiere
552132906a lf_dash.py : added additional examples, error checking for --store and --png
added together

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-08-06 07:20:59 -06:00
Chuck SmileyRekiere
10c4c4690d lf_dash.py : upated comments , not only for usage also an example
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-08-06 07:07:26 -06:00
Chuck Rekiere
66f0d9cff6 lf_dash.py : chmod 777 to allow for execution
Signed-off-by: Chuck Rekiere <chuck.rekiere@candelatech.com>
2021-08-06 06:59:28 -06:00
Chuck SmileyRekiere
db988589b2 kpi_csv_sq.py : updated comments
lf_dash.py : Initial commit  of the dashboard tool
1. lf_dash.py is a copy of the current state of kpi_csv_sq.py
2. lf_dash.py is a slightly shorter name so may be easier to type
3. kpi_csv_sq.py is a bit cryptic and hard to tell what it does by the name

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-08-06 06:55:52 -06:00
Chuck SmileyRekiere
8ad6a19cfb ct_us_002.json : updated for test-tag
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-08-05 23:01:28 -06:00
Chuck SmileyRekiere
55d971869e kpi_csv_sq.py renamed button for re-calculation
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-08-05 22:48:14 -06:00
Chuck SmileyRekiere
ba11107944 kpi_csv_sq.py : setting up call back for refresh
1. the code changed so there could be a refresh of the data

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-08-05 22:39:25 -06:00
Jed Reynolds
8c854b6867 jag: test file updates
Signed-off-by: Jed Reynolds <jed@candelatech.com>
2021-08-05 18:23:46 -07:00
Jed Reynolds
57978bd048 jbr_jag_test.py: adds test calls to get and set
Signed-off-by: Jed Reynolds <jed@candelatech.com>
2021-08-05 15:29:20 -07:00
Jed Reynolds
13e9e9e0bb sandbox: jbr_jag_test exercises lf_json_autogen.py
Signed-off-by: Jed Reynolds <jed@candelatech.com>
2021-08-05 15:29:20 -07:00
Chuck SmileyRekiere
d31a2c97d1 kpi_csv_sq.py :
1. app is not global not called in a class method
2. only start the server once. Serve will create multiple instances

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-08-05 15:41:59 -06:00
Chuck SmileyRekiere
52d8b878b8 kpi_csv_sq.py : help updates
1. help command line updates

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-08-05 15:41:59 -06:00
anil-tegala
4b0eb41019 x-axis values of lf_bar_graph added to csv generation 2021-08-06 01:40:29 +05:30
Jed Reynolds
184c49daf7 Adds package definition with imports for the sandbox package
Signed-off-by: Jed Reynolds <jed@candelatech.com>
2021-08-05 12:36:01 -07:00
Chuck SmileyRekiere
aef76bc53c kpi_csv_sq.py:
1. create display independently of generating the png
2. only generate the png files when --png is set
3. --show will using only the database to generate the display
	This was done to setup for a call back.  so generate the
	Display may be independent of generation of the png files
4. the generation of the png was kept with the generation of the display
as the display and the png need to match when generated.
Currently historical data is kept in the generated png

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-08-05 09:28:00 -06:00
Chuck SmileyRekiere
1e85df2888 kpi_csv_sq.py : re-sort the dataframe after selecting specific portions
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-08-04 18:24:58 -06:00
Chuck SmileyRekiere
7cdcb4fd36 kpi_csv_sq.py : debugging / verifitying the graphs produced
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-08-04 17:56:20 -06:00
Chuck SmileyRekiere
07d8bd1586 kpi_csv_sq.py : changed the replace to append, may have to occasionally
save a database

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-08-04 17:46:45 -06:00
Chuck SmileyRekiere
4d4798e075 kpi_csv_sq.py : debugging updates for re-displaying the database
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-08-04 17:23:25 -06:00
Matthew Stidham
7cbd210253 Error reporting for Influx and Grafana in Ghost posts
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-08-04 15:27:47 -07:00
Chuck SmileyRekiere
199e85ff4f kpi_csv_sq.py : sort by date
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-08-04 15:39:19 -06:00
Chuck SmileyRekiere
5d27932036 kpi_csv_sq.py : bug fix for different test-rigs
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-08-04 14:29:38 -06:00
Chuck SmileyRekiere
525257401d kpi_csv_sq.py : Updated comments when kpi.csv not present
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-08-04 13:50:48 -06:00
Chuck SmileyRekiere
2ae9ac34ab kpi_csv_sq.py : moved links to below graphs
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-08-04 13:35:39 -06:00
Chuck SmileyRekiere
2198c86243 kpi_csv_sq.py : improved scroll
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-08-04 13:24:58 -06:00
Chuck SmileyRekiere
386f2046b4 kpi_csv_sq.py : reporting update
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-08-04 13:18:08 -06:00
Chuck SmileyRekiere
4066f11b91 kpi_csv_sq.py : testing absolute paths
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-08-04 12:25:50 -06:00
Chuck SmileyRekiere
144ab0bcba kpi_csv_sq.py : html breaks for readability
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-08-04 11:57:55 -06:00
Chuck SmileyRekiere
107e3b5d6a kpi_csv_sq.py : updated paths for server
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-08-04 11:37:21 -06:00
Chuck SmileyRekiere
6d6241107f kpi_csv_sq.py : trying out different ways to access a server on the same computer
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-08-04 11:32:02 -06:00
Chuck SmileyRekiere
e628c320f5 kpi_csv_sq.py : added www.candelatech.com link
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-08-04 10:48:24 -06:00