Skip to content
Interface Profiles

Installation

  • NetBox 4.7. See compatibility for the versions each release supports.
  • Python 3.12 or later.
  • A running NetBox worker (manage.py rqworker), because role synchronizations run as background jobs.

The plugin has no Python dependencies beyond those of NetBox.

Install the netbox-interface-profiles package into the virtual environment of NetBox:

Terminal window
source /opt/netbox/venv/bin/activate
pip install netbox-interface-profiles

To keep the plugin installed when NetBox is upgraded, add it to local_requirements.txt in the NetBox root:

Terminal window
echo "netbox-interface-profiles" >> /opt/netbox/local_requirements.txt

To try the latest development version instead, install from GitHub:

Terminal window
pip install git+https://github.com/retigra/netbox-interface-profiles

Add the package to plugin_requirements.txt and rebuild the image, as described in the netbox-docker plugin instructions:

plugin_requirements.txt
netbox-interface-profiles==0.1.0

Add the plugin to PLUGINS in configuration.py:

configuration.py
PLUGINS = [
"interface_profiles",
]

The plugin has no required settings. An empty entry in PLUGINS_CONFIG is enough:

configuration.py
PLUGINS_CONFIG = {
"interface_profiles": {},
}

Create the plugin’s database tables, collect its static files and restart NetBox and its worker:

Terminal window
cd /opt/netbox/netbox
python manage.py migrate
python manage.py collectstatic --no-input
sudo systemctl restart netbox netbox-rq

The Interface Roles menu now appears in the navigation, and devices have an Interface Roles tab.