Commit Graph

9 Commits

Author SHA1 Message Date
Ben Greear
bc5b6d56e7 unit-test: Fix updating existing radius profile.
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>
2021-01-21 07:38:05 -08:00
Ben Greear
804a2b5351 ap-ssh: Fix query for ssid state and config. 2021-01-20 13:07:05 -08:00
Ben Greear
1847bf20dd ap-ssh: Fix some ap query commands. 2021-01-19 16:28:57 -08:00
Ben Greear
8b8f5c1b90 unit: Add query_ap.py to run commands remotely on AP.
This can be used by automated scripts to more easily get info off
the AP (and make settings as well).
2021-01-19 11:53:00 -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
38f16e0d5b unit-tests: Add user argument when calling owrt serial console script.
And start adding debugging around exceptions.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-01-16 15:19:10 -08:00
Ben Greear
694c4c619c unit-tests: Add more cmd line control
Lets us more easily control when and how to load firmware
or not.

Fix example to use correct device-id for Gleb's cloud ctlr.

There are still problems with the expect logic in lanforge-scripts
openwtr-ctl script, that is next to fix.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-01-16 11:24:53 -08:00
Ben Greear
4d805ecc9a unit-tests: Allow accessing AP through serial console on jumphost.
And allow tunneling that through ssh tunnel, so you can run this command on
localhost and it will execute against NOLA lab systems, for instance.

It sort of works now, but blows up trying to update firmware via the cloud
for one reason or another.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-01-15 13:02:49 -08:00
Ben Greear
314aa39313 Move tip-cicd-nightly from wlan-lanforge-scripts to wlan-testing
This is a copy of that code from commit a99d6c31a983cbf5b763ecd2905dddbd6e59d18d
in wlan-testing.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-01-15 09:33:46 -08:00