Add Network Diagram page - visual topology view of Bacula components#12
Add Network Diagram page - visual topology view of Bacula components#12podheitor wants to merge 1 commit intobacularis:masterfrom
Conversation
- New NetworkDiagram page with SVG-based network topology diagram - Shows Director, PostgreSQL, Clients, Storages, and Pools - Color-coded status indicators (green/yellow/red/gray) - Displays IP addresses and ports for each component - Data gathered via bconsole commands (status dir/client/storage, list pools) - Added sidebar menu integration and endpoint registration - Follows PSR-12 coding standards with proper AGPLv3 license headers - Compatible with all Bacularis installation methods Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
|
Hello @podheitor, Thank you for contributing. I think your network diagram idea is a great idea for a feature like this in Bacularis, and I thank you again for it. Regarding the changes made, there are several important areas that are inconsistent with the Bacularis architecture and many underlying errors. To add the network diagram to Bacularis, the feature needs to be redesigned to fit into Bacularis and the errors fixed. This requires understanding how Bacularis works from the inside. I'd like to encourage you to familiarize yourself with the PRADO framework. This documentation sheds a lot of light on Bacularis. https://www.pradoframework.net/demos/quickstart/ The Bacularis documentation will also be helpful, especially the sections describing Bacularis components and their dependencies: https://bacularis.app/doc/remote/basic.html You can find documentation for all current API endpoints here: If you have any question or you experience any problem with it, please let us know. We will help you. Below you will find errors divided into three categories: Base issues, minor issues, and working issues. Base issues
Minor issues
Working issues
I encourage you to work on this feature, as it's definitely worth the effort. We wish you good luck with these changes, and we're here for any questions or help. Best regards, |
Network Diagram Feature
This PR adds a new Network Diagram page to Bacularis that renders a graphical topology of all Bacula components with real-time status indicators.
Features
Files Changed
Web/Pages/NetworkDiagram.phpWeb/Pages/NetworkDiagram.pageWeb/JavaScript/network-diagram.jsWeb/Portlets/MainSideBar.tplWeb/endpoints.xmlTesting
Screenshot
SVG-based dark-themed diagram showing Director at center with connected Clients, Storages, PostgreSQL, and Pools, each with status indicators and IP:port labels.
Closes bacularis/bacularis-app#118