From c8685f2352c4530eab0e8c7c50826dc248750d69 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Thu, 16 Mar 2023 17:10:07 +0100 Subject: [PATCH] ucentral-schema: update to latest HEAD caac3f1 add support for secondary radius server Fixes: WIFI-11979 Signed-off-by: John Crispin --- feeds/ucentral/ucentral-schema/Makefile | 3 +- .../ucentral/examples/radius-secondary.json | 100 ++++++++++++++++++ 2 files changed, 101 insertions(+), 2 deletions(-) create mode 100644 feeds/ucentral/ucentral-schema/files/etc/ucentral/examples/radius-secondary.json diff --git a/feeds/ucentral/ucentral-schema/Makefile b/feeds/ucentral/ucentral-schema/Makefile index 733b632dc..509a53dc3 100644 --- a/feeds/ucentral/ucentral-schema/Makefile +++ b/feeds/ucentral/ucentral-schema/Makefile @@ -4,10 +4,9 @@ PKG_NAME:=ucentral-schema PKG_RELEASE:=1 PKG_SOURCE_URL=https://github.com/Telecominfraproject/wlan-ucentral-schema.git -PKG_MIRROR_HASH:=4f218e4ca75c062b215e12e5a7abce941b532b9def9a69877d6123928f442ee7 PKG_SOURCE_PROTO:=git PKG_SOURCE_DATE:=2022-05-29 -PKG_SOURCE_VERSION:=59c82145db93df4167edf8de7d6e8ccf76026607 +PKG_SOURCE_VERSION:=caac3f11f790d2819bf9e41189c3cf99a5d18a78 PKG_MAINTAINER:=John Crispin PKG_LICENSE:=BSD-3-Clause diff --git a/feeds/ucentral/ucentral-schema/files/etc/ucentral/examples/radius-secondary.json b/feeds/ucentral/ucentral-schema/files/etc/ucentral/examples/radius-secondary.json new file mode 100644 index 000000000..d9463cfbf --- /dev/null +++ b/feeds/ucentral/ucentral-schema/files/etc/ucentral/examples/radius-secondary.json @@ -0,0 +1,100 @@ +{ + "uuid": 2, + "radios": [ + { + "band": "5G", + "country": "CA", + "channel-mode": "HE", + "channel-width": 80, + "channel": 32 + } + ], + + "interfaces": [ + { + "name": "WAN", + "role": "upstream", + "ethernet": [ + { + "select-ports": [ + "WAN*" + ] + } + ], + "ipv4": { + "addressing": "dynamic" + }, + "ssids": [ + { + "name": "OpenWifi", + "wifi-bands": [ + "5G" + ], + "bss-mode": "ap", + "encryption": { + "proto": "wpa2", + "ieee80211w": "optional" + }, + "radius": { + "authentication": { + "host": "192.168.178.192", + "port": 1812, + "secret": "secret", + "secondary": { + "host": "192.168.178.193", + "port": 1812, + "secret": "secret2" + } + }, + "accounting": { + "host": "192.168.178.192", + "port": 1813, + "secret": "secret", + "secondary": { + "host": "192.168.178.193", + "port": 1813, + "secret": "secret2" + } + } + } + } + ] + }, + { + "name": "LAN", + "role": "downstream", + "services": [ "ssh" ], + "ethernet": [ + { + "select-ports": [ + "LAN*" + ] + } + ], + "ipv4": { + "addressing": "static", + "subnet": "192.168.1.1/24", + "dhcp": { + "lease-first": 10, + "lease-count": 100, + "lease-time": "6h" + } + } + + } + ], + "metrics": { + "statistics": { + "interval": 120, + "types": [ "ssids", "lldp", "clients" ] + }, + "health": { + "interval": 120 + } + }, + "services": { + "ssh": { + "port": 22 + } + } +}