Project Structure
Project Structure¶
This document provides an overview of the NetBox LibreNMS Plugin's codebase organization.
Main Directories¶
netbox_librenms_plugin/— Main plugin codeviews/— Custom views for devices, mappings, VMs, etc.base/— Abstract base views for shared logicsync/— Views for synchronization logic
models.py— Database modelsforms.py— Custom formstables/— Table definitions for UItemplates/— Custom templatesnetbox_librenms_plugin/— Main template directoryinc/— Shared template fragments (e.g., paginator)
api/— API serializers, views, and URLsmigrations/— Django migrationsutils.py— Utility functionsnavigation.py— Menu/navigation integrationstatic/— Static assets (JS, CSS)netbox_librenms_plugin/— Plugin-specific static filesjs/— JavaScript files
tests/— Test suitedocs/— Documentation