mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-11-01 19:07:47 +00:00
ucentral-schema: update wwan.json
Fixes: WIFI-14291 Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
@@ -1,31 +1,9 @@
|
|||||||
{
|
{
|
||||||
"uuid": 2,
|
|
||||||
"radios": [
|
|
||||||
{
|
|
||||||
"band": "2G",
|
|
||||||
"country": "CA",
|
|
||||||
"channel-mode": "HE",
|
|
||||||
"channel-width": 80,
|
|
||||||
"channel": 32
|
|
||||||
}
|
|
||||||
],
|
|
||||||
|
|
||||||
"interfaces": [
|
"interfaces": [
|
||||||
{
|
{
|
||||||
"name": "WAN",
|
"bridge": {
|
||||||
"role": "upstream",
|
"mtu": 1500
|
||||||
"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" ],
|
|
||||||
"ethernet": [
|
"ethernet": [
|
||||||
{
|
{
|
||||||
"select-ports": [
|
"select-ports": [
|
||||||
@@ -35,46 +13,136 @@
|
|||||||
],
|
],
|
||||||
"ipv4": {
|
"ipv4": {
|
||||||
"addressing": "static",
|
"addressing": "static",
|
||||||
"subnet": "192.168.1.1/24",
|
|
||||||
"dhcp": {
|
"dhcp": {
|
||||||
"lease-first": 10,
|
|
||||||
"lease-count": 100,
|
"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": [
|
"ssids": [
|
||||||
{
|
{
|
||||||
"name": "OpenWifi",
|
|
||||||
"wifi-bands": [
|
|
||||||
"2G"
|
|
||||||
],
|
|
||||||
"bss-mode": "ap",
|
"bss-mode": "ap",
|
||||||
"encryption": {
|
"encryption": {
|
||||||
"proto": "psk2",
|
"ieee80211w": "optional",
|
||||||
"key": "OpenWifi",
|
"key": "00000000",
|
||||||
"ieee80211w": "optional"
|
"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": {
|
"metrics": {
|
||||||
"statistics": {
|
"dhcp-snooping": {
|
||||||
"interval": 120,
|
"filters": [
|
||||||
"types": [ "ssids", "lldp", "clients" ]
|
"ack",
|
||||||
|
"discover",
|
||||||
|
"offer",
|
||||||
|
"request",
|
||||||
|
"solicit",
|
||||||
|
"reply",
|
||||||
|
"renew"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"health": {
|
"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": {
|
"services": {
|
||||||
|
"http-port": {
|
||||||
|
"port": 80
|
||||||
|
},
|
||||||
"lldp": {
|
"lldp": {
|
||||||
"describe": "uCentral",
|
"describe": "ecCLOUD-OpenWiFi",
|
||||||
"location": "universe"
|
"location": "universe"
|
||||||
},
|
},
|
||||||
"ssh": {
|
"ssh": {
|
||||||
|
"password-authentication": true,
|
||||||
"port": 22
|
"port": 22
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"unit": {
|
||||||
|
"leds-active": true
|
||||||
|
},
|
||||||
|
"uuid": 1731919490
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user