Ollama: - Complete KISS UI rewrite with simplified dashboard - RPC declarations without expect clauses for reliability - Service controls, model management, and chat interface Network Diagnostics: - Add temperature display with color-coded thresholds - Add error collection and export functionality - Add port mode switching (speed/duplex/EEE) - Add collect_errors, get_port_modes, get_temperature RPC methods - Add set_port_mode RPC method for port configuration - Fix ACL permissions for new methods Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
27 lines
837 B
JSON
27 lines
837 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", "collect_errors", "get_port_modes", "get_temperature"]
|
|
},
|
|
"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"],
|
|
"/sys/class/thermal/thermal_zone*/temp": ["read"],
|
|
"/sys/class/thermal/thermal_zone*/type": ["read"],
|
|
"/sys/class/hwmon/hwmon*/temp*": ["read"],
|
|
"/sys/class/hwmon/hwmon*/name": ["read"]
|
|
}
|
|
},
|
|
"write": {
|
|
"ubus": {
|
|
"luci.secubox-netdiag": ["clear_counters", "set_port_mode"]
|
|
}
|
|
}
|
|
}
|
|
}
|