Commit Graph

1349 Commits

Author SHA1 Message Date
Chuck SmileyRekiere
91f7f645fc lf_check.py : -mgr switch does not work in subprocess to access LANForge GUI in test_l3_longevity, updated lf_check_config.ini
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-05-11 07:04:54 -06:00
Matthew Stidham
754207e623 run dataplane_to_grafana from remote machine
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-05-10 22:44:20 -07:00
Chuck SmileyRekiere
8e42bf5702 test_l3_longevity.py : bug fix only read ap if set to true
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-05-10 18:07:37 -06:00
Chuck SmileyRekiere
0b772b6644 test_l3_longevity.py update valid_endp_types
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-05-10 17:46:41 -06:00
Chuck SmileyRekiere
901ae2b7dc test_l3_longevity.py comma separator between commands, allow errors to be printed out (do not catch errors)
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-05-10 17:44:12 -06:00
Chuck SmileyRekiere
0f186befea lf_check.py lf_check_config.ini : added stderr and stdout support
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-05-10 16:24:07 -06:00
Chuck SmileyRekiere
90903913f1 test_l3_longevity.py : updated for ability to automate allow comma seperators
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-05-10 15:14:23 -06:00
Chuck SmileyRekiere
991f6a21bc lf_check_config.ini : update config
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-05-10 14:07:12 -06:00
Chuck SmileyRekiere
bb30919e17 lf_check.py lf_check_config.ini : work out paths and command parsing
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-05-10 14:05:52 -06:00
Ben Greear
44857107a0 csv-convert: Un-tested changes to create specific customer format.
Original interpretation of their request was incorrect, so this is
another attempt.  It will take input of the 'brief' csv output
for dataplane, already mostly converted to the customer's data
format, so less conversion is needed.

Un-tested as of now...
2021-05-10 11:04:04 -07:00
Chuck SmileyRekiere
f582c7945f lf_check.py : updates to command arguments for subprocess and path setup
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-05-10 12:02:04 -06:00
Chuck SmileyRekiere
2ad439466e lf_check.py lf_check_config.ini : replace \n \r with '' to read json correctly
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-05-10 07:38:11 -06:00
Chuck SmileyRekiere
d797a60cc7 lf_check.py lf_check_config.ini : added lf mgr ip and lf mgr port
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-05-10 07:38:11 -06:00
Ben Greear
627219a98d cv automation work.
Improve ferndale_ucentral.bash to at least mostly work.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-05-09 21:01:20 -07:00
Ben Greear
49c1df2cb0 cv-dut: Improve options to configure DUT.
And stop hard-coding the DUT position.

Add start of ferndale ucentral testbed end-to-end example test script.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-05-09 14:08:05 -07:00
Chuck SmileyRekiere
292c50a6ab mv lf_save_check.py to lf_check.py , changed file rights lf_check_config.ini
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-05-08 10:54:57 -06:00
Chuck SmileyRekiere
aac5f6b386 lf_check.py : run individual tests lf_check_config.ini used for lf_check.py
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-05-08 10:53:41 -06:00
Chuck SmileyRekiere
6efd4ef376 lf_check.py config.ini : check comcast setup
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-05-08 10:49:00 -06:00
Ben Greear
002304c32d cv-automation: Update help in cap-to-grafana shell script.
Add comments, remove an un-used variable from the dut creation logic.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-05-08 08:47:31 -07:00
Matthew Stidham
79fb905fd7 Building Grafana automation
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-05-07 16:59:04 -07:00
Chuck SmileyRekiere
47a9d7a741 test_l3_longevity.py : generate html and pdf output
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-05-07 16:04:36 -06:00
Matthew Stidham
f946da3b77 create dataplane_to_grafana.sh
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-05-07 13:18:38 -07:00
Matthew Stidham
4cb4598255 Rename wifi_cap_to_grafana and create dataplane_to_grafana
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-05-07 13:18:08 -07:00
Chuck SmileyRekiere
6378ed1b9d test_l3_longevity.py : csv created in lanforge/reports-html
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-05-07 13:39:32 -06:00
Chuck SmileyRekiere
9bf8687cce lf_check_ap.py : explicitly from serial import Serial 2021-05-07 13:39:32 -06:00
Matthew Stidham
ca59088801 Fix ssid flags and password fallback when the password flag is missing
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-05-07 09:57:12 -07:00
sushant
6823cf1170 removed hard code from cv_dut_profile.py
Signed-off-by: sushant <sushant.bawiskar@candelatech.com>
2021-05-07 22:18:12 +05:30
Sushant Bawiskar
94d7949eed added get_popup_and_close function call in create_chamberview.py
added get_popup_and_close function in create_chamberview_dut.py

Signed-off-by: sushant <sushant.bawiskar@candelatech.com>
2021-05-07 22:11:22 +05:30
Chuck SmileyRekiere
a7cf234eeb test_l3_longevity.py : removed unused code for current KPI functionality. The previous version copied to sandbox for reference.
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-05-07 07:53:42 -06:00
Chuck SmileyRekiere
b2ed9fa2e9 test_l3_longevity.py : added ap_test_mode for switching back and forth from real to bogus data
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-05-07 05:52:38 -06:00
Chuck SmileyRekiere
dda769ebaf test_l3_longevity.py : commented out some of the prints
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-05-07 05:31:53 -06:00
Matthew Stidham
8a362f757b dut_to_grafana
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-05-06 17:14:52 -07:00
Matthew Stidham
e25c13e826 Create dut_to_grafana and fixing dependencies
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-05-06 17:14:16 -07:00
Chuck SmileyRekiere
f2b5113804 test_l3_longevity.py : added configuration to enable and disable reading ap
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-05-06 17:13:18 -06:00
Chuck SmileyRekiere
49602d0f1e test_l3_longevity.py : script clean up - removed code to do most / least - can be done post process 2021-05-06 15:05:31 -06:00
Chuck SmileyRekiere
0469d600f6 update_dut.py : moved to sandbox note added that script deprecated. 2021-05-06 13:53:14 -06:00
Ben Greear
53dff4e940 Merge branch 'master' of github.com:greearb/lanforge-scripts 2021-05-06 10:54:07 -07:00
Ben Greear
2bf59b55d3 py-scripts: Fix cureate_chamberview_dut.py to be runnable.
chmod a+x, and also put the python-script logic at
the first line.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-05-06 10:53:19 -07:00
Matthew Stidham
c2cc40708a Properly load scenario, run wifi capacity test, scp kpi file to localhost, and save to grafana.
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-05-06 10:43:09 -07:00
Chuck SmileyRekiere
43943f6327 test_l3_longevity.py : steps to make more generic, created ./sandbox/test_l3_longevity_cisco.py as a temporary holding spot. 2021-05-06 11:37:34 -06:00
Chuck SmileyRekiere
5ec3bbb245 lf_check_ap.py : updated the example
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-05-06 07:34:05 -06:00
Chuck SmileyRekiere
578a4f151b moved lf_check.py to lf_check_ap.py
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-05-06 07:01:00 -06:00
Chuck SmileyRekiere
0527e0ac05 lf_check.py : added example 2021-05-06 06:57:56 -06:00
Chuck SmileyRekiere
c1cfd9c6e0 update_dependencies.py : added pexpect-serial 2021-05-06 06:47:45 -06:00
Chuck SmileyRekiere
dda7366381 lf_check.py : added command line parameters for ap_port and ap_baud
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-05-06 06:28:02 -06:00
Chuck SmileyRekiere
799cfc4579 update_dependencies.py : added pyserial (work to do for being root).
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-05-05 12:54:19 -06:00
Chuck SmileyRekiere
0c43fbea02 update_dependencies.py : keep track of packages that were successful and those not
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-05-05 08:51:42 -06:00
Matthew Stidham
e9aef2eb0f upstream-port fix
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-05-04 16:05:41 -07:00
Matthew Stidham
7a1dfa89d1 Update regression_test
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-05-04 16:05:41 -07:00
Matthew Stidham
a0d7e2d523 Create new Influx dashboards from a CSV
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-05-04 16:05:41 -07:00