Folder-tree view of IP prefixes for NetBox — collapsible hierarchy, per-prefix IP browsing, filter-aware.
Project description
NetBox FolderView
A NetBox plugin that provides a folder-tree view of IP prefixes, similar to the experience offered by SolarWinds IPAM or phpIPAM. Browse your prefix hierarchy visually, drill into assigned IP addresses, and filter the tree using NetBox's native filter and saved-filter system — all without leaving the familiar NetBox UI.
Compatible NetBox Versions
| Plugin Version | NetBox Version |
|---|---|
| 0.1.x | 4.5.x+ |
Note: This plugin relies on internal NetBox APIs (
restrict(),UserConfig,PrefixFilterSet,SavedFilter). Compatibility with versions below 4.5.0 is not guaranteed.
Features
- Two-pane tree view — prefix hierarchy on the left, IP addresses on the right
- Lazy loading — child prefixes and IP addresses are fetched on demand; no performance penalty on large datasets
- Filter-aware tree — apply any NetBox prefix filter and the tree reorganizes to show only matching prefixes; filtered-out parent prefixes are skipped and their children become root nodes automatically
- Saved filters — the saved filter dropdown from the standard Prefixes view is available directly in the tree header
- Column configuration — columns in both the prefix tree and IP address table are configurable per-user, persisted via NetBox's native
UserConfigmechanism - Respects NetBox RBAC — all queries are restricted to the authenticated user's object-level permissions
- Read-only — no create, edit, or delete actions; purely a visualization layer over existing data
Installation
1. Install the package
Install into the same Python environment as NetBox.
From PyPI:
pip install netbox-folderview
From source (development):
git clone https://github.com/averyhabbott/netbox-folderview.git
cd netbox-folderview
pip install -e .
2. Add to NetBox configuration
In your NetBox configuration.py:
PLUGINS = [
'netbox_folderview',
]
PLUGINS_CONFIG = {
'netbox_folderview': {},
}
3. Restart NetBox
No database migrations are required — the plugin is stateless.
# Example for a systemd-managed installation
sudo systemctl restart netbox netbox-rq
How to Use
Navigating to the Prefix Tree
After installation, a FolderView section appears in the NetBox left-hand navigation menu. Click Prefix Tree to open the view.
The Tree Tab
The main view is split into two panes:
Left pane — Prefix Tree
- Displays your prefix hierarchy as a collapsible folder tree
- Top-level prefixes (those with no parent prefix) appear as root nodes; aggregates are excluded
- Click the chevron (▶) beside a prefix to expand it and reveal child prefixes; a loading indicator appears while children are fetched. Click the chevron again to collapse.
- Single-click a prefix to load its assigned IP addresses in the right pane; the selected prefix is highlighted
- Double-click a prefix to navigate to its full NetBox detail page
Right pane — IP Addresses
- Displays the IP addresses assigned within the selected prefix
- Paginated using NetBox's standard pagination controls
- Double-click any IP address to navigate to its NetBox detail page
- Click Configure (available in both panes) to choose which columns are shown; your preferences are saved per-user
Filtering the Tree
Use the controls at the top of the Tree tab to narrow what appears:
- Quick search — type to filter the visible tree by prefix or description
- Saved filter dropdown — apply any saved filter you've created on the standard Prefixes page
- Filters tab — switch to the Filters tab for the full NetBox prefix filter panel (VRF, tenant, site, role, status, and more); click Search to apply; the tree reorganizes to show only matching results
When filters are active, a summary of applied filters appears above the tree. Click the Reset button on the Filters tab to clear all filters.
Development
To run against a local NetBox instance:
# Clone and install in editable mode
git clone https://github.com/averyhabbott/netbox-folderview.git
pip install -e ./netbox-folderview
# Add to your NetBox configuration.py (see Installation above)
# Start the NetBox dev server (no migrations needed)
cd netbox
python manage.py runserver
License
MIT
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file netbox_folderview-0.1.3.tar.gz.
File metadata
- Download URL: netbox_folderview-0.1.3.tar.gz
- Upload date:
- Size: 12.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
80896768e486f811b8f676263421f6ea6166c7a1d0538b585df20e59633459d4
|
|
| MD5 |
b8893f8ddb3807810b59d111ac148169
|
|
| BLAKE2b-256 |
d0e3e18707200675e0b8ea6d15012c32398955e860d0bf307f80c2b3201aeed0
|
File details
Details for the file netbox_folderview-0.1.3-py3-none-any.whl.
File metadata
- Download URL: netbox_folderview-0.1.3-py3-none-any.whl
- Upload date:
- Size: 12.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a90f2e5f01fc2ec2c892974b715c7eb64742d963ec1657006d8ec8861271e296
|
|
| MD5 |
a42d7c81af204956aac6d9ed843d4bdf
|
|
| BLAKE2b-256 |
4df4855ca9bfe44ce262512e0e85197ae940ba791f306b83e9abba242ba4ebdb
|