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
Jed Reynolds
0ca2007d62
LFRequest.py: re-formats debug output so that it is less likely to wrap
...
On a narrow terminal it is difficult to follow the output. This merges a
series of message lines into one debug output call to help legibility
Signed-off-by: Jed Reynolds <jed@bitratchet.com >
2022-07-12 15:45:49 +05:30
Jed Reynolds
ea9fda9c60
LFUtils.py: formats debug output json for pull port listing
...
Signed-off-by: Jed Reynolds <jed@bitratchet.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
Chuck SmileyRekiere
0059bcca96
lf_attenmod.py prints changed to logger
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2022-07-12 15:45:49 +05:30
Jed Reynolds
d07c61ebc3
lfcli_base.py: updates check_connect() method to provide bold warning when detecting expired licenses.
...
Also generates warning about licences expiring within 30 days.
Signed-off-by: Jed Reynolds <jed@bitratchet.com >
2022-07-12 15:45:49 +05:30
Jed Reynolds
addc19deaa
station_profile.py: improves debug formatting
...
Signed-off-by: Jed Reynolds <jed@bitratchet.com >
2022-07-12 15:45:49 +05:30
Jed Reynolds
1d67c30d1a
LFRequest.py: raise ValueError when provided a highly improbable URL/PATH combination.
...
This was triggered by a call to admin_up() that was passing self.lfclient_url as an un-named parameter, creating
unanswerable requests formatted like http://localhost:8080/http:/localhost:8080/ . There should really only be
one http[s]*:// pattern in a URL, and further instances of colons should be URL encoded to %3A.
Signed-off-by: Jed Reynolds <jed@bitratchet.com >
2022-07-12 15:45:49 +05:30
Jed Reynolds
554e3f22fc
realm.py: add debugging parameters to admin_up()
...
This is a logical place to find license exceptions when using ath10k without valid license
Signed-off-by: Jed Reynolds <jed@bitratchet.com >
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
Chuck SmileyRekiere
dad88f2c94
fio_endp_profile.py : prints to logger
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@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
92f37e3944
dut_profile.py print changed to logger
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@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
Chuck SmileyRekiere
2931c9c4c6
cv_test_manager.py print to logger
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2022-07-12 15:45:46 +05:30
Chuck SmileyRekiere
5beeae511e
cv_dut_profile print to logger
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2022-07-12 15:45:46 +05:30
Chuck SmileyRekiere
40706e8154
create_wanlink.py prints to logger
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2022-07-12 15:45:46 +05:30
Chuck SmileyRekiere
37db2052fb
lfcli_base.py prints changed 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
6a964ef215
lfutils: fix wait-for-ports-admin-up
...
Logic was broken trying to compare json_response['down'] to "true",
when instead that object is a Boolean variable. So this method
always returned immediately instead of actually waiting until port
was admin up. This was seen testing VAP profile.
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
0bddc504de
clibase: Print out pass and failure messages on exit.
...
This is nice info to have printed.
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
Ben Greear
f8d8e5849c
lfutils: Print out some wait-for-port messages at info level.
...
Instead of just at debug level...
Signed-off-by: Ben Greear <greearb@candelatech.com >
2022-07-12 15:45:46 +05:30
Chuck SmileyRekiere
02d8f29d6a
test_ip_variable_time.py changed to use log_level
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2022-07-12 15:45:46 +05:30
Ben Greear
3a3b6f5336
create_l3, create_l3_stations: Add logger support
...
Improve pass/fail reporting, and add TODO for future work.
Signed-off-by: Ben Greear <greearb@candelatech.com >
2022-07-12 15:45:46 +05:30
Ben Greear
f64e7aa11e
Improve return code for create_l3, sta_connect_example.
...
Add TODO for create_l3.py for future work.
Signed-off-by: Ben Greear <greearb@candelatech.com >
2022-07-12 15:45:46 +05:30
Ben Greear
7db4c9a329
create-cv: Improve --line and --ssid parser.
...
Use shlex to parse the tokens for each --line and --ssid content.
This fixes using ssid with spaces, for instance.
Fix parser to error out if user inputs invalid data.
Add TODO items for future work.
Fix regression script: DUT must be created before Scenario tries to use it,
and fix typos and other mistakes in how the regression script tried to
create dut and chamberview. This part has not been tested yet, but it is
at least closer than before.
Signed-off-by: Ben Greear <greearb@candelatech.com >
2022-07-12 15:45:45 +05:30
Chuck SmileyRekiere
1cdfbce0e5
test_ip_variable_time.py print changed to logger
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2022-07-12 15:45:45 +05:30