Installation
Requirements
- NetBox v4.5.2 through v4.7.x (see
COMPATIBILITY.mdfor the supported version matrix) - Python 3.12 or later
- PostgreSQL (required - Custom Object Types are backed by real database tables)
- Redis (required - used for background jobs such as search reindexing, and for the cache that keeps NetBox's worker processes in step when a Custom Object Type is deleted)
Using Custom Objects with NetBox Branching requires NetBox v4.6.2 or later and netbox-branching v1.0.4 or later.
Installation
1. Install the Plugin
Add the Python package to NetBox's running environment:
pip install netboxlabs-netbox-custom-objectsTo keep the plugin installed when NetBox is upgraded, add it to local_requirements.txt in the NetBox root directory:
echo netboxlabs-netbox-custom-objects >> local_requirements.txt2. Enable the Plugin
Add netbox_custom_objects to PLUGINS in your configuration.py:
PLUGINS = [
# ...
'netbox_custom_objects',
]3. Run Database Migrations and Collect Static Files
Apply the plugin's database migrations and collect its static files:
./manage.py migrate
./manage.py collectstatic4. Restart NetBox
Restart NetBox's WSGI and background worker processes:
sudo systemctl restart netbox netbox-rqNetBox Branching
No extra configuration is needed to use Custom Objects with NetBox Branching. See Using Custom Objects with NetBox Branching for the requirements and what is supported.
Next Steps
- Configuration lists the plugin's optional settings.
- Permissions explains how to grant users access to Custom Object Types and their objects.
Import and Export
Custom objects can be imported and exported in bulk like NetBox's own objects, from the Import and Export buttons on a type's list view.
Permissions
Custom Objects uses NetBox's standard permissions. Users are granted access with object permissions, which can be limited to particular actions (view, add, c...