Docs

Installation

Requirements

  • NetBox v4.5.2 through v4.7.x (see COMPATIBILITY.md for 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-objects

To 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.txt

2. 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 collectstatic

4. Restart NetBox

Restart NetBox's WSGI and background worker processes:

sudo systemctl restart netbox netbox-rq

NetBox 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.

On this page