Commit Graph

5 Commits

Author SHA1 Message Date
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