Need to convert the json object to a string before doing a PUT.
Test still failing though, maybe other corruption.
Signed-off-by: Ben Greear <greearb@candelatech.com>
And don't try to use a radius profile if we cannot create one. An invalid
radius ID won't let us create an AP profile at all.
Signed-off-by: Ben Greear <greearb@candelatech.com>
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>
This completes querying most of the things the API provides,
and also adds some un-tested methods to reboot APs and similar.
Signed-off-by: Ben Greear <greearb@candelatech.com>
More needs to be done, including dealing with pagination, but this is
a start to reading in current config state so that automated scripts
make do a better job of configuring the system.
Signed-off-by: Ben Greear <greearb@candelatech.com>
Use command-line args instead of environment variables.
Allow disabling use of testrails.
Assume lanforge libraries are located at ../lanforge/lanforge
as expected by other automation in this repository. Can work
on loadable modules at a later date.
This borrows some work that Gleb did earlier in the docker/nightly*
code.
Signed-off-by: Ben Greear <greearb@candelatech.com>