From 08ded0c3f9cb3ad6f18eb720b9f27a9731789ab4 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Mon, 2 Oct 2023 11:06:49 +0200 Subject: [PATCH] ucentral-schema: update to latest HEAD aa79c72 add EHT support to data model 0a77e9c add EHT detection to phy.uc Signed-off-by: John Crispin --- feeds/ucentral/ucentral-schema/Makefile | 4 +- .../files/etc/ucentral/examples/wifi-7.json | 123 ++++++++++++++++++ 2 files changed, 125 insertions(+), 2 deletions(-) create mode 100644 feeds/ucentral/ucentral-schema/files/etc/ucentral/examples/wifi-7.json diff --git a/feeds/ucentral/ucentral-schema/Makefile b/feeds/ucentral/ucentral-schema/Makefile index 6165ff8c0..1b749ada4 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:=5aed825bc8d336cbb5eaecf9106d95b371f46f4ce526148a273f49870ad5241a +PKG_MIRROR_HASH:=13ac49c727ad9bbceb02f8742e68f95b97ff907ea9120425656cf0d4d6f681be PKG_SOURCE_PROTO:=git PKG_SOURCE_DATE:=2022-05-29 -PKG_SOURCE_VERSION:=4cfe432151bb1b597f7ff62c0ab28b07bbd716fe +PKG_SOURCE_VERSION:=aa79c72358293314581953226f11092eb2313bca PKG_MAINTAINER:=John Crispin PKG_LICENSE:=BSD-3-Clause diff --git a/feeds/ucentral/ucentral-schema/files/etc/ucentral/examples/wifi-7.json b/feeds/ucentral/ucentral-schema/files/etc/ucentral/examples/wifi-7.json new file mode 100644 index 000000000..d121a36a1 --- /dev/null +++ b/feeds/ucentral/ucentral-schema/files/etc/ucentral/examples/wifi-7.json @@ -0,0 +1,123 @@ +{ + "uuid": 2, + "radios": [ + { + "band": "2G", + "country": "US", + "channel-mode": "EHT", + "channel-width": 40, + "channel": "auto" + }, { + "band": "5G", + "country": "US", + "channel-mode": "EHT", + "channel-width": 160, + "channel": 36 + }, { + "band": "6G", + "country": "US", + "channel-mode": "EHT", + "channel-width": 160, + "channel": 36 + } + ], + + "interfaces": [ + { + "name": "WAN", + "role": "upstream", + "services": [ "lldp" ], + "ethernet": [ + { + "select-ports": [ + "WAN*" + ] + } + ], + "ipv4": { + "addressing": "dynamic" + }, + "ssids": [ + { + "name": "OpenWifi2", + "wifi-bands": [ + "2G" + ], + "bss-mode": "ap", + "encryption": { + "proto": "psk2", + "key": "OpenWifi", + "ieee80211w": "optional" + }, + "rrm": { + "reduced-neighbor-reporting": true + } + }, { + "name": "OpenWifi5", + "wifi-bands": [ + "5G" + ], + "bss-mode": "ap", + "encryption": { + "proto": "psk2", + "key": "OpenWifi", + "ieee80211w": "optional" + }, + "rrm": { + "reduced-neighbor-reporting": true + } + }, { + "name": "OpenWifi6", + "wifi-bands": [ + "6G" + ], + "bss-mode": "ap", + "encryption": { + "proto": "sae", + "key": "OpenWifi", + "ieee80211w": "required" + } + } + ] + }, + { + "name": "LAN", + "role": "downstream", + "services": [ "ssh", "lldp" ], + "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": { + "lldp": { + "describe": "uCentral", + "location": "universe" + }, + "ssh": { + "port": 22 + } + } +}