Skip to content

Commit

Permalink
ucentral-schema: update wwan.json
Browse files Browse the repository at this point in the history
Fixes: WIFI-14291
Signed-off-by: John Crispin <[email protected]>
  • Loading branch information
blogic committed Nov 27, 2024
1 parent 9cfa767 commit 2e27d22
Showing 1 changed file with 112 additions and 44 deletions.
156 changes: 112 additions & 44 deletions feeds/ucentral/ucentral-schema/files/etc/ucentral/examples/wwan.json
Original file line number Diff line number Diff line change
@@ -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": [
Expand All @@ -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
}

0 comments on commit 2e27d22

Please sign in to comment.