Scott Wedge
d5521f85ef
sta_connect2.py: add test result report feature
...
Signed-off-by: Scott Wedge <scott.wedge@candelatech.com >
2022-07-12 15:46:15 +05:30
Scott Wedge
436a22b0c8
sta_connect2.py: add logger module and kpi.csv features
...
Signed-off-by: Scott Wedge <scott.wedge@candelatech.com >
2022-07-12 15:46:15 +05:30
Chuck SmileyRekiere
652ce1151b
test_l3_longevit.py : commented out writing the index.html so can see the
...
results remotely.
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2022-07-12 15:46:15 +05:30
anil-tegala
b1701f7410
script to inspect pcap files added
2022-07-12 15:46:14 +05:30
Chuck SmileyRekiere
64cbf20b97
lf_check.py logging updates for meta file not being present
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2022-07-12 15:46:13 +05:30
Chuck SmileyRekiere
9830d08a49
lf_check.py : created exceptions if the metadata file is not present
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2022-07-12 15:46:13 +05:30
Chuck SmileyRekiere
c07c211e52
lf_qa.py : removed exit on not being able to find png file
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2022-07-12 15:46:13 +05:30
Chuck SmileyRekiere
5aaba87506
lf_wifi_capacity_test.py : added lf_logger_config_json argument
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2022-07-12 15:46:12 +05:30
Chuck SmileyRekiere
f6c681a821
test_l3.py : changes name of legacy kpi usage to just results to have the kpi.csv generation the only kpi referenced.
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2022-07-12 15:46:06 +05:30
Chuck SmileyRekiere
abc55e55c0
test_l3_longevity.py : changes name of legacy kpi usage to just results to have the kpi.csv generation the only kpi referenced.
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2022-07-12 15:46:06 +05:30
Scott Wedge
b7ef70f4f1
sta_connect2.py: add logger module, fix bug in start()
...
Signed-off-by: Scott Wedge <scott.wedge@candelatech.com >
2022-07-12 15:46:04 +05:30
Scott Wedge
b6fbbb18a1
smw_lf_rvr_test.py: text and whitespace updates
...
Signed-off-by: Scott Wedge <scott.wedge@candelatech.com >
2022-07-12 15:46:02 +05:30
Ben Greear
fb48980ee1
vap-profile: Improve logging and use some base class code.
...
More changes all around regression test logic related to the
vap profile. Move some open-coded admin_up/admin_down calls
to base class.
regression test takes the .rc file as primary input,
and cmd-line args will override that.
Signed-off-by: Ben Greear <greearb@candelatech.com >
2022-07-12 15:46:02 +05:30
Ben Greear
548167d7af
Improve lf_ap_auto_test
...
Some untested changes to regression test script to allow passing more
info in on cmd line.
Use correct DUT name when starting ap-auto test.
Run connection test only at this time, it is fast when it works,
and proves basic ability to launch the test.
Signed-off-by: Ben Greear <greearb@candelatech.com >
2022-07-12 15:46:00 +05:30
Ben Greear
4129f01860
lf_multipsk: Improve logging and add some TODOs
...
Add some more notes about external dependencies for this
script. It is meant to run with already-created vlans,
for instance.
Signed-off-by: Ben Greear <greearb@candelatech.com >
2022-07-12 15:45:53 +05:30
Jed Reynolds
2dbbeb8e26
run_cv_scenario.py: fixes strange return failure message plus...
...
- updates print statements to logger
- starts work on report name
Signed-off-by: Jed Reynolds <jed@bitratchet.com >
2022-07-12 15:45:49 +05:30
Ben Greear
46aef442d7
Fix spelling in snp-test
...
Signed-off-by: Ben Greear <greearb@candelatech.com >
2022-07-12 15:45:49 +05:30
Scott Wedge
61476a380f
smw_lf_rvr_test.py: fixes to atten setup and report output.
...
Signed-off-by: Scott Wedge <scott.wedge@candelatech.com >
2022-07-12 15:45:49 +05:30
Ben Greear
efa17f2b63
Remove empty file.
2022-07-12 15:45:49 +05:30
Scott Wedge
6ba98e0fab
smw_lf_rvr_test.py: add logger module
...
Signed-off-by: Scott Wedge <scott.wedge@candelatech.com >
2022-07-12 15:45:49 +05:30
Scott Wedge
0edc02687b
smw_lf_rvr_test.py: fix imports, make script able to run
...
Signed-off-by: Scott Wedge <scott.wedge@candelatech.com >
2022-07-12 15:45:49 +05:30
Matthew Stidham
028be1f7f1
create_chamberview: Use base argparser so there's no more guessing what the flags are
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2022-07-12 15:45:49 +05:30
Matthew Stidham
6bef445db2
create_l3: Remove stations by default
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2022-07-12 15:45:49 +05:30
Matthew Stidham
912c8ceac1
test_fileio: Implement lf_kpi_csv
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2022-07-12 15:45:49 +05:30
Matthew Stidham
e497a77e79
test_l4 fix
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2022-07-12 15:45:49 +05:30
Matthew Stidham
76e8506ab0
kpi.csv integration
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2022-07-12 15:45:49 +05:30
Chuck SmileyRekiere
354e545b85
lf_kpi_csv.py added comment to use the default columns.
...
lf_kpi_csv.py added exception and traceback
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2022-07-12 15:45:49 +05:30
Chuck SmileyRekiere
5d27cc8a3d
lf_kpi_csv.py added comment to use the default columns.
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2022-07-12 15:45:49 +05:30
Ben Greear
b7d42bce04
lfcli-base: consider test passed if there are no failures.
...
Previous code also insisted that there was at least one success,
but that means that code doing not pass/fail tests would
fail.
Signed-off-by: Ben Greear <greearb@candelatech.com >
2022-07-12 15:45:49 +05:30
Scott Wedge
0cccb50ba9
smw_lf_rvr_test.py: original script state from Netgear
...
Signed-off-by: Scott Wedge <scott.wedge@candelatech.com >
2022-07-12 15:45:49 +05:30
Scott Wedge
0296214b02
smw_lf_throughput.py: import updates, add logger, and beginning fixes
...
Signed-off-by: Scott Wedge <scott.wedge@candelatech.com >
2022-07-12 15:45:49 +05:30
Scott Wedge
c7a7460f82
smw_lf_throughput.py: original script from Netgear repo
...
Signed-off-by: Scott Wedge <scott.wedge@candelatech.com >
2022-07-12 15:45:49 +05:30
Chuck SmileyRekiere
58ee3792b4
lf_logger_config.py : reduced per line verbosity of default logger
2022-07-12 15:45:49 +05:30
Chuck SmileyRekiere
85d1628a7c
create_chamberview.py : prints to logger
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2022-07-12 15:45:49 +05:30
Ben Greear
217330c85a
sta-connect: Add notes for improvement.
2022-07-12 15:45:49 +05:30
Ben Greear
c9889e1444
modify-station: Add notes for improvement.
2022-07-12 15:45:49 +05:30
Ben Greear
03eeb6fc33
measure_station_time_up: Add notes on things to improve.
2022-07-12 15:45:49 +05:30
Ben Greear
fdd441e343
snp: Add notes
...
Signed-off-by: Ben Greear <greearb@candelatech.com >
2022-07-12 15:45:49 +05:30
Ben Greear
f43f7ecb69
lf_sniff_radio: Add notes for improvement.
2022-07-12 15:45:49 +05:30
Jed Reynolds
8530b0556d
create_station.py: adds check for admin-up
...
Signed-off-by: Jed Reynolds <jed@bitratchet.com >
2022-07-12 15:45:49 +05:30
Ben Greear
ec2dd1b4b3
regression-test: Improve lf_dataplane_test
...
Use DUT that earlier test logic created, allow specifying testbed
name on the cmd line.
Add exit code for dpt, but not sure it is correct since currently
it fails trying to copy the results locally since my GUI is on localhost
and LANforge system is elsewhere. Added TODO to allow this usage.
Signed-off-by: Ben Greear <greearb@candelatech.com >
2022-07-12 15:45:46 +05:30
Ben Greear
e0ff9f30a4
example-security-connection: Add exit code logic.
...
And clean up stations on exit if --noclean was not selected.
Signed-off-by: Ben Greear <greearb@candelatech.com >
2022-07-12 15:45:46 +05:30
Chuck SmileyRekiere
9feaf8d683
lf_wifi_capacity_test.py prints to logger
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2022-07-12 15:45:46 +05:30
Ben Greear
d7dc9d1a23
vap-profile: Add logging and return code checking.
...
And remove the logic to create a bridge within the vap profile,
the vap profile does not have enough info to properly create
a bridge (old code used hard-coded port names)
Instead, logic would be to create vap, and then create a bridge
object that holds the VAP using the bridge profile/script.
Signed-off-by: Ben Greear <greearb@candelatech.com >
2022-07-12 15:45:46 +05:30
Ben Greear
80b236ccb4
create-station: Add logger and exit code handling.
...
And add note for improvement to station_profile logic.
Signed-off-by: Ben Greear <greearb@candelatech.com >
2022-07-12 15:45:46 +05:30
Ben Greear
169203b57b
regression: Fix ./test_l3.py line
...
It was missing a closing quote, so it didn't execute at all. I've no
idea why it shows success in the html output.
2022-07-12 15:45:46 +05:30
Ben Greear
531cf440af
qvlans: Fix creating qvlans
...
Make it look more like macvlans, including logic to set IP addresses,
and to verify qvlans were created properly.
Signed-off-by: Ben Greear <greearb@candelatech.com >
2022-07-12 15:45:46 +05:30
Ben Greear
6a441884c3
mvlan: Improve pass/fail reporting
...
And add support for logging API. Add some TODOs for future work.
Signed-off-by: Ben Greear <greearb@candelatech.com >
2022-07-12 15:45:46 +05:30
Ben Greear
9287aff711
create-macvlan: mac-vlans have nothing to do with radios.
...
So remove reference to radios from it.
Signed-off-by: Ben Greear <greearb@candelatech.com >
2022-07-12 15:45:46 +05:30
Ben Greear
9bdb1e5140
create_l4: Improve logging and return codes.
...
Use base class methods for logging setup, check error codes
for port creation and cx creation.
l4 profile gets TODO note, since it does not verify that cx/endp
are actually created or not.
2022-07-12 15:45:46 +05:30