From 693e147cd9269ade4b6abb096fa2b49db6717ffb Mon Sep 17 00:00:00 2001 From: John Crispin Date: Wed, 26 Jul 2023 07:43:44 +0200 Subject: [PATCH] ucentral-schema: update to latest HEAD 122135c add becaon-adverrtisment support using TIP IE Fixes: WIFI-12535 Signed-off-by: John Crispin --- feeds/ucentral/ucentral-schema/Makefile | 4 +- .../files/etc/ucentral/examples/tip-oui.json | 106 ++++++++++++++++++ 2 files changed, 108 insertions(+), 2 deletions(-) create mode 100644 feeds/ucentral/ucentral-schema/files/etc/ucentral/examples/tip-oui.json diff --git a/feeds/ucentral/ucentral-schema/Makefile b/feeds/ucentral/ucentral-schema/Makefile index 81694146a..43de3cb74 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:=8e128efae91f8977ee587ec0af38ee0b5a4fe7ab18b7b5fda5f00497a3cf71cf +PKG_MIRROR_HASH:=dbc42d0d379e19e338f0bd8e9917eddf38500268c572caab66484923a4a7bdfd PKG_SOURCE_PROTO:=git PKG_SOURCE_DATE:=2022-05-29 -PKG_SOURCE_VERSION:=fa2cdb2f4775709cd3312334e5756a33b2f5e653 +PKG_SOURCE_VERSION:=122135cdab0659ac962f2d48ee594c190117dd35 PKG_MAINTAINER:=John Crispin PKG_LICENSE:=BSD-3-Clause diff --git a/feeds/ucentral/ucentral-schema/files/etc/ucentral/examples/tip-oui.json b/feeds/ucentral/ucentral-schema/files/etc/ucentral/examples/tip-oui.json new file mode 100644 index 000000000..f9a0030f4 --- /dev/null +++ b/feeds/ucentral/ucentral-schema/files/etc/ucentral/examples/tip-oui.json @@ -0,0 +1,106 @@ +{ + "uuid": 2, + "unit": { + "name": "office", + "beacon-advertisement" : { + "device-name": true, + "device-serial": true, + "network-id": 43983 + } + }, + "radios": [ + { + "band": "2G", + "country": "CA", + "channel-mode": "HE", + "channel-width": 80, + "channel": 32 + } + ], + + "interfaces": [ + { + "name": "WAN", + "role": "upstream", + "services": [ "lldp" ], + "ethernet": [ + { + "select-ports": [ + "WAN*" + ] + } + ], + "ipv4": { + "addressing": "dynamic" + }, + "ssids": [ + { + "name": "OpenWifi", + "wifi-bands": [ + "2G" + ], + "bss-mode": "ap", + "encryption": { + "proto": "psk2", + "key": "OpenWifi", + "ieee80211w": "optional" + } + } + ] + }, + { + "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" + } + }, + "ssids": [ + { + "name": "OpenWifi", + "wifi-bands": [ + "2G" + ], + "bss-mode": "ap", + "encryption": { + "proto": "psk2", + "key": "OpenWifi", + "ieee80211w": "optional" + } + } + ] + + } + ], + "metrics": { + "statistics": { + "interval": 120, + "types": [ "ssids", "lldp", "clients" ] + }, + "health": { + "interval": 120 + } + }, + "services": { + "lldp": { + "describe": "uCentral", + "location": "universe" + }, + "ssh": { + "port": 22 + } + } +}