From 2e27d22a48118e2291a32b3e4663a5755e328d55 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Wed, 27 Nov 2024 10:28:52 +0100 Subject: [PATCH] ucentral-schema: update wwan.json Fixes: WIFI-14291 Signed-off-by: John Crispin --- .../files/etc/ucentral/examples/wwan.json | 156 +++++++++++++----- 1 file changed, 112 insertions(+), 44 deletions(-) diff --git a/feeds/ucentral/ucentral-schema/files/etc/ucentral/examples/wwan.json b/feeds/ucentral/ucentral-schema/files/etc/ucentral/examples/wwan.json index 860d93693..1653f3332 100644 --- a/feeds/ucentral/ucentral-schema/files/etc/ucentral/examples/wwan.json +++ b/feeds/ucentral/ucentral-schema/files/etc/ucentral/examples/wwan.json @@ -1,31 +1,9 @@ { - "uuid": 2, - "radios": [ - { - "band": "2G", - "country": "CA", - "channel-mode": "HE", - "channel-width": 80, - "channel": 32 - } - ], - "interfaces": [ { - "name": "WAN", - "role": "upstream", - "wwan": { - "protocol": "qmi", - "pin-code": "7846", - "access-point-name": "web.vodafone.de", - "packet-data-protocol": "dual-stack", - "authentication-type": "none" - } - }, - { - "name": "LAN", - "role": "downstream", - "services": [ "ssh", "lldp" ], + "bridge": { + "mtu": 1500 + }, "ethernet": [ { "select-ports": [ @@ -35,46 +13,136 @@ ], "ipv4": { "addressing": "static", - "subnet": "192.168.1.1/24", "dhcp": { - "lease-first": 10, "lease-count": 100, - "lease-time": "6h" - } + "lease-first": 10, + "lease-time": "6h", + "use-dns": "8.8.8.8" + }, + "send-hostname": true, + "subnet": "192.168.1.1/24" }, + "name": "LAN", + "role": "downstream", + "services": [ + "ssh", + "lldp" + ], "ssids": [ { - "name": "OpenWifi", - "wifi-bands": [ - "2G" - ], "bss-mode": "ap", "encryption": { - "proto": "psk2", - "key": "OpenWifi", - "ieee80211w": "optional" - } + "ieee80211w": "optional", + "key": "00000000", + "proto": "psk2" + }, + "name": "5A-Ian-eap112-route", + "wifi-bands": [ + "5G" + ] } ] - + }, + { + "broad-band": { + "access-point-name": "internet", + "authentication-type": "none", + "modem-type": "wwan", + "packet-data-protocol": "dual-stack", + "password": "", + "pin-code": "", + "protocol": "wwan", + "user-name": "" + }, + "ethernet": [ + { + "select-ports": [ + "WAN*" + ] + } + ], + "ipv4": { + "addressing": "dynamic" + }, + "name": "WAN", + "role": "upstream", + "services": [ + "ssh", + "lldp" + ] } ], "metrics": { - "statistics": { - "interval": 120, - "types": [ "ssids", "lldp", "clients" ] + "dhcp-snooping": { + "filters": [ + "ack", + "discover", + "offer", + "request", + "solicit", + "reply", + "renew" + ] }, "health": { - "interval": 120 + "interval": 60 + }, + "statistics": { + "interval": 150, + "types": [ + "ssids", + "lldp", + "clients" + ] + }, + "wifi-frames": { + "filtes": [ + "probe", + "auth", + "assoc", + "disassoc", + "deauth", + "local-deauth", + "inactive-deauth", + "key-mismatch", + "beacon-report", + "radar-detected" + ] } }, + "radios": [ + { + "band": "5G", + "channel": "auto", + "channel-mode": "VHT", + "channel-width": 80, + "country": "US", + "tx-power": 20 + }, + { + "band": "2G", + "channel": "auto", + "channel-mode": "HT", + "channel-width": 20, + "country": "US", + "tx-power": 20 + } + ], "services": { + "http-port": { + "port": 80 + }, "lldp": { - "describe": "uCentral", + "describe": "ecCLOUD-OpenWiFi", "location": "universe" }, "ssh": { + "password-authentication": true, "port": 22 } - } + }, + "unit": { + "leds-active": true + }, + "uuid": 1731919490 }