- Add inventory.sh for hardware inventory collection (MAC, serial, model, CPU, RAM, storage) - Add profiles.sh for profile management and device matching - Add default.json profile template for auto-provisioned peers - Add discovery mode to master-link.sh with pending queue and approval workflow - Add bulk token generation (up to 100 tokens per batch) - Enhance 50-secubox-clone-provision with inventory collection and discovery join - Add 9 new RPCD methods to luci.cloner for factory provisioning - Fix p2p-mesh.sh to be silent when sourced as library - Add UCI options: discovery_mode, auto_approve_known, discovery_window, default_profile Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
29 lines
911 B
JSON
29 lines
911 B
JSON
{
|
|
"luci-app-cloner": {
|
|
"description": "Grant access to SecuBox Cloning Station",
|
|
"read": {
|
|
"ubus": {
|
|
"luci.cloner": [
|
|
"status", "list_images", "list_tokens", "list_clones", "list_devices",
|
|
"build_progress", "build_log", "serial_ports", "serial_read",
|
|
"history_list", "storage_info", "image_details",
|
|
"list_remotes", "remote_status", "scan_network",
|
|
"pending_devices", "inventory", "list_profiles", "discovery_status"
|
|
]
|
|
}
|
|
},
|
|
"write": {
|
|
"ubus": {
|
|
"luci.cloner": [
|
|
"generate_token", "build_image", "tftp_start", "tftp_stop",
|
|
"delete_token", "delete_image", "serial_start", "serial_stop", "serial_write",
|
|
"history_add", "history_clear", "image_rename",
|
|
"add_remote", "remove_remote", "remote_upload", "remote_flash",
|
|
"approve_device", "reject_device", "bulk_tokens",
|
|
"import_preregistered", "toggle_discovery"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|