- Add secubox-p2p backend package: - UCI configuration for P2P settings, DNS federation, WireGuard mesh, HAProxy - RPCD handler for peer management, service discovery, mesh configuration - Init script and main P2P manager daemon - Add luci-app-secubox-p2p frontend package: - Main hub view with master control, network matrix visualization - Peers management with discovery and manual add - Services view showing local and shared services - Mesh network configuration (DNS, WireGuard, HAProxy) - Settings for P2P and registry configuration - Add Services Registry view to luci-app-secubox - Add listProfiles/applyProfile to secubox-admin API - Fix P2P ACL permissions - Remove old hub.js from luci-app-secubox (moved to dedicated package) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
54 lines
925 B
JSON
54 lines
925 B
JSON
{
|
|
"admin/secubox/p2p-hub": {
|
|
"title": "P2P Hub",
|
|
"order": 15,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "secubox-p2p/hub"
|
|
},
|
|
"depends": {
|
|
"acl": ["luci-app-secubox-p2p"]
|
|
}
|
|
},
|
|
"admin/secubox/p2p-hub/overview": {
|
|
"title": "Overview",
|
|
"order": 10,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "secubox-p2p/hub"
|
|
}
|
|
},
|
|
"admin/secubox/p2p-hub/peers": {
|
|
"title": "Peers",
|
|
"order": 20,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "secubox-p2p/peers"
|
|
}
|
|
},
|
|
"admin/secubox/p2p-hub/services": {
|
|
"title": "Services",
|
|
"order": 30,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "secubox-p2p/services"
|
|
}
|
|
},
|
|
"admin/secubox/p2p-hub/mesh": {
|
|
"title": "Mesh Network",
|
|
"order": 40,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "secubox-p2p/mesh"
|
|
}
|
|
},
|
|
"admin/secubox/p2p-hub/settings": {
|
|
"title": "Settings",
|
|
"order": 90,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "secubox-p2p/settings"
|
|
}
|
|
}
|
|
}
|