Jed Reynolds
d2d45d1205
lf_json_autogen: parameters now have comments that correspond to lfcli_ug
...
Signed-off-by: Jed Reynolds <jed@candelatech.com >
2021-08-04 23:59:11 -07:00
Jed Reynolds
ab57bd8575
lf_json_autogen.py: fixes duplicate parameter classes; no more CLI alias commands
...
Signed-off-by: Jed Reynolds <jed@candelatech.com >
2021-08-04 23:04:04 -07:00
Jed Reynolds
aa1476a518
LFRequest.py: fixes confusion between urllib.request module name and request instance myrequest
...
Signed-off-by: Jed Reynolds <jed@candelatech.com >
2021-07-29 16:53:21 -07:00
Jed Reynolds
f60f0055be
LFRequest error printing is now more centralized:
...
print_diagnostics extracts X-Error headers first
LFRequest can track errors in self.error_list
LFReuqest can print errors
Classes lf lfcli_base calling lfrequest.get_as_json() can expose 404 or other errors using lfrequest.print_errors()
Signed-off-by: Jed Reynolds <jed@candelatech.com >
2021-07-29 16:53:21 -07:00
Matthew Stidham
53015a5501
Updating to make better Ghost posts, with more details in the first table, and enabling reading test_tags from the kpi.csv files.
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2021-07-22 15:27:20 -07:00
Chuck SmileyRekiere
c18d33f362
Revert "Add optional debug output to Chamberview test scripts, wifi capacity, dataplane"
...
This reverts commit a7ff3e9227 .
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-07-15 06:53:37 -06:00
Matthew Stidham
a7ff3e9227
Add optional debug output to Chamberview test scripts, wifi capacity, dataplane
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2021-07-14 16:07:56 -07:00
karthikaeyetea
45e2688f36
print statement changed --'setting attenuator' instead creating attenuator
2021-07-13 12:08:22 +05:30
Erin Grimes
2f8c033ce8
- test_wanlink.py may now run with optional transfer-rate arguments:
...
* as together endpoints: --rate, the value of wanlink transfer rate of both endpoints in bits/sec.
* as separate endpoints: --rate_A and/or --rate_B which default to the value of --rate.
* the default value of --rate is 1000000 (1Gbps)
Signed-off-by: Erin Grimes <erin.grimes@candelatech.com >
2021-07-08 14:46:51 -07:00
Erin Grimes
b857d695b9
- test_wanlink.py may now run with optional latency arguments:
...
* as together endpoints: --latency, the value of wanlink delay of both endpoints in ms.
* as separate endpoints: --latency_A and/or --latency_B which default to the value of --latency.
* the value of --latency is 20 (ms) by default.
- Arguments passed from the command line into LANtoWAN are simplified into a single container args.
- Several arguments of LANtoWAN are instead initialized as data members.
- create_wanlink.py no longer attempts to alter the wanlink after creating it.
- create_wanlink.py outputs less to the terminal.
Signed-off-by: Erin Grimes <erin.grimes@candelatech.com >
2021-07-08 14:46:51 -07:00
Matthew Stidham
7e3575b481
Removing LFClibase from influx2 script
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2021-07-08 11:47:17 -07:00
Jed Reynolds
0f1c703cb3
test_histogram.py example of how to use expand_endp_histogram
...
Signed-off-by: Jed Reynolds <jed@candelatech.com >
2021-07-06 16:41:05 -07:00
Jed Reynolds
64f243aa10
LFUtils.py: adds client function that can produce more detailed histogram from a Layer 3 DistributionPayload
...
Signed-off-by: Jed Reynolds <jed@candelatech.com >
2021-07-06 16:41:05 -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
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
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
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
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
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
a2464e62ee
Changed test type from urls/s to urls to prevent possible errors from '/'
2021-06-24 15:24:33 -07: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
c2586f8343
Grafana and Ghost integration updates
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2021-06-22 14:48:19 -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
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
Jed Reynolds
137471ef0a
updated lf_json_autogen.py
...
Signed-off-by: Jed Reynolds <jed@candelatech.com >
2021-06-18 17:57:27 -07:00
Ben Greear
f711be6c6a
py-json: Add auto-generated lf-json library.
...
Signed-off-by: Ben Greear <greearb@candelatech.com >
2021-06-10 12:55:16 -07:00
anjali
156adca522
added "enable txo" option
2021-06-07 12:02:38 +05:30
smileyrekiere
9f5fc4f7ff
station_profile.py: ability to set defaults with the constructor
...
test_l3_powersave_traffic.py : temporary work around for hard coded value
station_profile.py set some of the desired_add_sta_flags values to a fixed number,
allow to set desired_add_sta_flags values on construction
Signed-off-by: smileyrekiere <smileyrekiere@gmail.com >
2021-06-04 11:09:15 -06:00
shivamcandela
4e63eddfa2
Added missing Port and local path details
...
Signed-off-by: shivamcandela <shivam.thakur@candelatech.com >
2021-06-02 01:40:25 +05:30
shivamcandela
3c76df8d41
cv report ssh port and local path added, cv manager report name variable added
...
Signed-off-by: shivamcandela <shivam.thakur@candelatech.com >
2021-05-31 23:27:38 +05:30
Nikita Yadav
eb79a0f3e6
adding bridge as flag value and removing hardcoded resources
2021-05-31 19:37:40 +05:30
Ben Greear
6227303ffb
cv-test: Add influx debugging, update ferndale-ucentral sh script
...
Allow sourcing local shell variable script in order to not have
to commit tokens into the code repo. Fix a few calls to the
helper python code that does the real work.
Signed-off-by: Ben Greear <greearb@candelatech.com >
2021-05-28 15:37:14 -07:00
anjali
0583b57fb4
added attenuator library in realm.py
2021-05-28 21:32:59 +05:30
shivamcandela
86f33f759f
extra security : remove duplicates in station profile
...
Signed-off-by: shivamcandela <shivam.thakur@candelatech.com >
2021-05-24 01:31:59 +05:30
shivamcandela
6476e4aec0
selecting multiple security modes in station profile
...
Signed-off-by: shivamcandela <shivam.thakur@candelatech.com >
2021-05-24 01:04:44 +05:30
Matthew Stidham
f655d0df2e
Run AP Auto Test from cv_to_grafana.py
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2021-05-21 10:34:21 -07:00
Matthew Stidham
21aa062244
Create cv_to_grafana and make fixes
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2021-05-14 15:23:24 -07:00
Matthew Stidham
371cde5843
More reliable way to parse CSV files
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2021-05-12 09:57:06 -07: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
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
Matthew Stidham
79fb905fd7
Building Grafana automation
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2021-05-07 16:59:04 -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