Ben Greear
18e5363f4c
ulogin: Fix show_commands URI
...
Signed-off-by: Ben Greear <greearb@candelatech.com >
2021-04-25 09:21:05 -07:00
Ben Greear
47b1063b38
ulogin: Add ability to query commands.
...
Something is wrong though, maybe with python, maybe with ucentral,
at the moment.
Signed-off-by: Ben Greear <greearb@candelatech.com >
2021-04-23 12:38:12 -07:00
Ben Greear
6dc4f434c6
ulogin: Support reading healthcheck.
...
Signed-off-by: Ben Greear <greearb@candelatech.com >
2021-04-23 12:20:30 -07:00
Ben Greear
567826fb40
ulogin: Support sending request to API
...
And fix stats display.
Signed-off-by: Ben Greear <greearb@candelatech.com >
2021-04-23 12:14:15 -07:00
Ben Greear
83c74a8598
ulogin: Support show_logs
...
Signed-off-by: Ben Greear <greearb@candelatech.com >
2021-04-23 12:05:11 -07:00
Ben Greear
6271441b50
ulogin: Support AP status API
...
Signed-off-by: Ben Greear <greearb@candelatech.com >
2021-04-23 11:56:24 -07:00
Ben Greear
52e581d807
ulogin: Support get capabilities API.
...
Signed-off-by: Ben Greear <greearb@candelatech.com >
2021-04-23 11:52:55 -07:00
Ben Greear
92e65a38b4
ulogin: Fix list-device code.
...
Latest ucentral uses properly formed json instead of
text blobs it seems, update ulogin to handle that.
Signed-off-by: Ben Greear <greearb@candelatech.com >
2021-04-23 11:46:04 -07:00
Ben Greear
ae21df918e
ulogin: Support upgrading AP with sysupgrade.
...
And add example usage to top of file.
Signed-off-by: Ben Greear <greearb@candelatech.com >
2021-04-23 11:37:41 -07:00
Ben Greear
5235bdfdb9
ulogin: Enable DHCP in NAT mode.
...
This lets NAT mode work as expected.
Signed-off-by: Ben Greear <greearb@candelatech.com >
2021-04-16 16:06:29 -07:00
Ben Greear
a9ffc6fe2b
ulogin: Add example for bridge mode setup.
...
And clarify that other one is NAT/router mode.
Signed-off-by: Ben Greear <greearb@candelatech.com >
2021-04-15 12:02:38 -07:00
Ben Greear
baadd9376c
ulogin: Add example to configure AP in psk2 bridge mode.
...
Signed-off-by: Ben Greear <greearb@candelatech.com >
2021-04-14 20:59:43 -07:00
Ben Greear
ea267b9a54
ulogin: Fix cfg option.
...
I was using wrong URL, and was missing 'uuid' in the data
section.
Signed-off-by: Ben Greear <greearb@candelatech.com >
2021-04-12 08:42:50 -07:00
Ben Greear
01508fb8f0
ulogin: Add cmd line args to the python example tool.
...
Support querying specific devices.
Add configure logic (doesn't work yet).
Cmd-line args to be more flexible.
Check response codes and warn as needed.
Signed-off-by: Ben Greear <greearb@candelatech.com >
2021-04-11 08:56:08 -07:00
stephb9959
4ece282860
Small Python changes.
2021-03-21 22:10:26 -07:00
stephb9959
ee99541131
Initial commit
2021-03-19 14:16:24 -07:00