Ninja Enhancements
Since we have released Ninja Plugin for Netbox we have been working on one major change and one major improvement. Following video demonstrates the uses cases and following chapters tries to add some more information.
Simplified installation
If you create a Ninja template which produces drawio file, it is now converted into SVG-file completely in the front-end - no need for drawio-export-api container anymore. This simplifies installation a lot.
Keep in mind if you want to access the same diagram via Netbox API, you still need the container.
SVG conversion now takes care of SVG IDs
Kind of a technical title. Basically this means you can make fully dynamic Grafana dashboards based on Ninja generated diagrams and map telemetry data on top of them.
Grafana Flow Plugin can fetch SVG file from remote URL and reflect telemerty data on top of it.
In order to get it to work, we needed to imitate Draw.io’s SVG data plugin in Python. This ensures SVG IDs are correctly in place and Flow can match to them.
Another thing we needed to resolve was token based authentication support for Flow plugin. We haven’t had time to make a pull request for it yet.