From efb57bcc5ae5da4783fef3281cdcaaa915fd6205 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Mon, 24 Apr 2023 08:19:30 +0200 Subject: [PATCH] ucentral-schema: update to latest HEAD d7dbe23 allow passing hex values as radius request attributes Fixes: WIFI-12534 Signed-off-by: John Crispin --- feeds/ucentral/ucentral-schema/Makefile | 4 +- .../examples/radius-request-attr.json | 96 +++++++++++++++++++ 2 files changed, 98 insertions(+), 2 deletions(-) create mode 100644 feeds/ucentral/ucentral-schema/files/etc/ucentral/examples/radius-request-attr.json diff --git a/feeds/ucentral/ucentral-schema/Makefile b/feeds/ucentral/ucentral-schema/Makefile index 0c8c680cd..68cb245e1 100644 --- a/feeds/ucentral/ucentral-schema/Makefile +++ b/feeds/ucentral/ucentral-schema/Makefile @@ -4,10 +4,10 @@ PKG_NAME:=ucentral-schema PKG_RELEASE:=1 PKG_SOURCE_URL=https://github.com/Telecominfraproject/wlan-ucentral-schema.git -PKG_MIRROR_HASH:=735f6f5f82c8c06a7ed7aed7dd8106b39ac7d74d8f198a008d9ad499f50f4a78 +PKG_MIRROR_HASH:=b2f42795db42b01f5240c2697d47323d19c8054b6bead3d8a4db8a3049203fda PKG_SOURCE_PROTO:=git PKG_SOURCE_DATE:=2022-05-29 -PKG_SOURCE_VERSION:=b918e6aef276a437ca097784b6e1701d28d45173 +PKG_SOURCE_VERSION:=d7dbe2375226a4c84ba1bf9d460c84b89d878364 PKG_MAINTAINER:=John Crispin PKG_LICENSE:=BSD-3-Clause diff --git a/feeds/ucentral/ucentral-schema/files/etc/ucentral/examples/radius-request-attr.json b/feeds/ucentral/ucentral-schema/files/etc/ucentral/examples/radius-request-attr.json new file mode 100644 index 000000000..bb1bc8f92 --- /dev/null +++ b/feeds/ucentral/ucentral-schema/files/etc/ucentral/examples/radius-request-attr.json @@ -0,0 +1,96 @@ +{ + "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", + "request-attribute": [ + { + "id": 100, + "hex-value": "aaaabbcc" + } + ] + }, + "accounting": { + "host": "192.168.178.192", + "port": 1813, + "secret": "secret" + } + } + } + ] + }, + { + "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 + } + } +}