Commit Graph

9 Commits

Author SHA1 Message Date
Ben Greear
6b4f44480c unit-test: Support creating subset of wpa, wpa2 and/or eap.
This lets use re-configure the AP in multiple different configurations.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-01-28 14:22:48 -08:00
Ben Greear
358f9ea45b unit-tests: Update documentation with better examples.
Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-01-28 09:26:20 -08:00
Ben Greear
a3d2db11ed unit-test: Pass in LF radios on cmd line.
Test is partially functional now.
2021-01-21 16:57:22 -08:00
Ben Greear
d8145a3daa nightly: Remove more profile-on-disk logic.
Use auto-generated ssid and psk, with TODO note to improve
this in the future as needed.

This will give us programmatic control over SSID names, passwords
and such, in case we want to try lots of different variants as part
of testing the cloud.
2021-01-21 13:00:54 -08:00
Ben Greear
8174b91cbb query-sdk: Support sending delete-profile command.
cloud-sdk returns 500 (internal error), so not sure if this is
correct or not.
2021-01-19 13:08:32 -08:00
Ben Greear
83aa754214 unit: Start adding logic to delete ssid profiles if they already exist.
This will let testing run cleaner, and not lard up the system with an
ever expanding list of un-used profiles.

Does not currently work because I have to figure out how to paginate-read
profiles since there are so many of them.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-01-18 16:41:13 -08:00
Ben Greear
1593584bc5 unit: Query equipment-id based on ovsh identifier.
So user no longer has to worry about what ID matches their equipment
in the cloud-sdk database.

Start moving Nightly to use the base-class, removing the duplicated
cmd line parsing and similar.

Attempt to improve firmware update waiting and error messages,
but it is not actually updating firmware properly in this
case before after I made those changes.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-01-18 15:42:08 -08:00
Ben Greear
5809330479 unit: Allow querying certain object types.
Instead of always dumping everything.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-01-18 13:13:38 -08:00
Ben Greear
760e400d1d unit-tests: Add UnitTestBase class
This handles command line parsing and other common tasks.

Update query_sdk to use the base class, greatly simplifying its code.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-01-17 15:41:52 -08:00