diff --git a/docs/additional-features/reports.md b/docs/additional-features/reports.md index 6deddc140..74137ebb8 100644 --- a/docs/additional-features/reports.md +++ b/docs/additional-features/reports.md @@ -37,6 +37,8 @@ from dcim.constants import CONNECTION_STATUS_PLANNED from dcim.models import ConsolePort, Device, PowerPort from extras.reports import Report +name = "Device Connections Report" + class DeviceConnectionsReport(Report): description = "Validate the minimum physical connections for each device" diff --git a/docs/development/application-registry.md b/docs/development/application-registry.md index 67479b6fb..7c64bb513 100644 --- a/docs/development/application-registry.md +++ b/docs/development/application-registry.md @@ -53,3 +53,27 @@ Plugin content that gets embedded into core NetBox templates. The store comprise ], } ``` + +### `plugin_reports` + +[Reports](../additional-features/reports.md) provided by plugins. Each plugin report module is registered as a key with the list of reports it provides as its value. An example: + +```python +{ + 'plugin_a.reports.first': [, ], + 'plugin_a.reports.second': [], + 'plugin_b.reports': [, , ], +} +``` + +### `plugin_scripts` + +[Custom scripts](../additional-features/custom-scripts.md) provided by plugins. Each plugin script module is registered as a key with the list of scripts it provides. An example: + +```python +{ + "plugin_a.scripts": [