Add support for sub-packaging of reports #1529

Closed
opened 2025-12-29 16:32:43 +01:00 by adam · 1 comment
Owner

Originally created by @dougthor42 on GitHub (Feb 2, 2018).

Issue type

[x] Feature request
[ ] Bug report
[ ] Documentation

Environment

  • Python version: 3.5.2
  • NetBox version: 2.2.8

Description

Reports are amazing. Since they're basically just Python packages, it makes sense that a user should be able to make an arbitrary number of sub-packages in the reports directory.

netbox/reports/
├───__init__py
├───assets.py
├───addresses.py
├───checks/
│   ├───__init__.py
│   ├───check_serials.py
└───inventory/
    ├───__init__.py
    ├───list_inventory.py
    └───list_ipv6.py

Reports above could be called via:

POST /api/extras/reports/checks.check_serials.CheckSerials/run/
Originally created by @dougthor42 on GitHub (Feb 2, 2018). ### Issue type [x] Feature request <!-- An enhancement of existing functionality --> [ ] Bug report <!-- Unexpected or erroneous behavior --> [ ] Documentation <!-- A modification to the documentation --> ### Environment * Python version: 3.5.2 * NetBox version: 2.2.8 ### Description Reports are amazing. Since they're basically just Python packages, it makes sense that a user should be able to make an arbitrary number of sub-packages in the `reports` directory. ``` netbox/reports/ ├───__init__py ├───assets.py ├───addresses.py ├───checks/ │ ├───__init__.py │ ├───check_serials.py └───inventory/ ├───__init__.py ├───list_inventory.py └───list_ipv6.py ``` Reports above could be called via: ``` POST /api/extras/reports/checks.check_serials.CheckSerials/run/ ```
adam closed this issue 2025-12-29 16:32:43 +01:00
Author
Owner

@jeremystretch commented on GitHub (Jul 18, 2018):

Each report is already a collection of related tests. I don't see the need to further group reports into directories, and fear doing so would complicate the UI.

@jeremystretch commented on GitHub (Jul 18, 2018): Each report is already a collection of related tests. I don't see the need to further group reports into directories, and fear doing so would complicate the UI.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#1529