New LuCI application for DSA switch port monitoring: - Real-time port status (link, speed, duplex) - Error counters (CRC, frame, FIFO, drops) - Alert thresholds (normal/warning/critical) - Interface detail modal with ethtool output - Kernel message logs (dmesg) - Auto-refresh polling (5s/10s/30s) - Export log functionality - SecuBox dark theme styling Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
23 lines
562 B
JSON
23 lines
562 B
JSON
{
|
|
"luci-app-secubox-netdiag": {
|
|
"description": "Grant access to SecuBox Network Diagnostics",
|
|
"read": {
|
|
"ubus": {
|
|
"luci.secubox-netdiag": ["get_switch_status", "get_interface_details", "get_error_history", "get_topology"]
|
|
},
|
|
"file": {
|
|
"/sys/class/net/*/statistics/*": ["read"],
|
|
"/sys/class/net/*/carrier": ["read"],
|
|
"/sys/class/net/*/operstate": ["read"],
|
|
"/sys/class/net/*/address": ["read"],
|
|
"/sys/class/net/*/mtu": ["read"]
|
|
}
|
|
},
|
|
"write": {
|
|
"ubus": {
|
|
"luci.secubox-netdiag": ["clear_counters"]
|
|
}
|
|
}
|
|
}
|
|
}
|