ucentral: various updates and fixes

* Gateway and client are now talking jsonrpc on the wire.
* update the datamodel to the latest version.
* add github workflow
* add zero touch on-boarding

Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
John Crispin
2021-03-29 16:02:59 +02:00
parent 528a778e38
commit bc13ab4544
35 changed files with 408 additions and 91 deletions

View File

@@ -7,7 +7,6 @@ TARGET=${1}
if [ -z "$1" ]; then
echo "Error: please specify TARGET"
echo "One of: WF194C, ZYXEL_GS1900-10HP"
exit 1
fi
@@ -19,20 +18,8 @@ else
echo "### OpenWrt repo already setup"
fi
case "${TARGET}" in
WF194C)
TARGET=wf194c
;;
ZYXEL_GS1900-10HP)
TARGET=zyxel_gs1900-10hp
;;
*)
echo "${TARGET} is unknown"
exit 1
;;
esac
cd ${BUILD_DIR}
./scripts/gen_config.py ${TARGET} ucentral-ap || exit 1
./scripts/gen_config.py ${TARGET} || exit 1
cd -
echo "### Building image ..."