Skip to main content

A NetBox plugin for browsing and installing third-party plugins

Project description

NetBox Plugin Catalog

A NetBox plugin that provides an in-app catalog for browsing and installing third-party NetBox plugins.

NetBox Version Python Version License CI PyPI

Features

  • Browse Plugins: Discover NetBox plugins from PyPI with rich metadata
  • Curated Catalog: Quality ratings, categories, and compatibility information
  • One-Click Install: Install plugins directly from the NetBox UI via pip
  • Compatibility Checking: Verify plugin compatibility with your NetBox version
  • Installation History: Track all plugin installation attempts
  • Smart Detection: Auto-detect installed and activated plugins

Requirements

  • NetBox 4.0.0 or higher
  • Python 3.10 or higher

Installation

Via pip

pip install netbox-plugin-catalog

Via source

git clone https://github.com/sieteunoseis/netbox-plugin-catalog.git
cd netbox-plugin-catalog
pip install .

Configuration

Add the plugin to your configuration.py:

PLUGINS = [
    'netbox_catalog',
]

PLUGINS_CONFIG = {
    'netbox_catalog': {
        'pypi_cache_timeout': 3600,        # Cache PyPI data for 1 hour
        'catalog_json_url': '',            # Optional: remote catalog.json URL
        'allow_install': True,             # Enable/disable pip install feature
        'show_uncurated': True,            # Show plugins not in curated list
        'pypi_index_url': 'https://pypi.org',  # PyPI mirror support
    }
}

Run migrations:

python manage.py migrate

Collect static files:

python manage.py collectstatic --no-input

Restart NetBox.

Usage

Browsing Plugins

Navigate to Plugins > Plugin Catalog > Browse Plugins to view all available NetBox plugins.

You can filter by:

  • Search: Filter by name, summary, or author
  • Category: Network Management, Security, Automation, etc.
  • Certification: Certified, Compatible, Untested, Deprecated
  • Status: Installed, Not Installed, Activated, Upgrade Available
  • Compatibility: Compatible, Incompatible, Unknown

Installing Plugins

  1. Click on a plugin to view details
  2. Click Install (or Upgrade if already installed)
  3. Confirm the installation
  4. Follow the post-installation instructions:
    • Add the plugin to PLUGINS in configuration.py
    • Run python manage.py migrate
    • Run python manage.py collectstatic
    • Restart NetBox

Compatibility Detection

The plugin checks compatibility through multiple sources:

  1. Curated catalog: Manually verified compatibility info in catalog.json
  2. PluginConfig: After pip install, reads min_version/max_version from plugin
  3. README parsing: Attempts to extract version info from description (fallback)

Compatibility status is shown with clear indicators:

  • Compatible: Plugin works with your NetBox version
  • Unknown: No compatibility information available
  • Incompatible: Plugin requires a different NetBox version

Curated Catalog

The catalog.json file provides curated metadata for plugins:

{
    "plugins": {
        "netbox-bgp": {
            "category": "Network Management",
            "tags": ["routing", "bgp"],
            "certification": "certified",
            "netbox_min_version": "4.0.0",
            "notes": "Official BGP plugin",
            "recommended": true,
            "featured": true
        }
    }
}

Updating the Catalog

You can host your own catalog JSON and configure it:

PLUGINS_CONFIG = {
    'netbox_catalog': {
        'catalog_json_url': 'https://example.com/netbox-plugins.json',
    }
}

Docker Installation

For Docker deployments, the plugin can automatically add packages to requirements-extra.txt instead of using pip directly. This allows installations to persist across container restarts.

Setup

  1. Mount requirements-extra.txt as read-write in your docker-compose.yml:
services:
  netbox:
    volumes:
      - ./requirements-extra.txt:/opt/netbox/requirements-extra.txt:rw
  1. Set file permissions so the NetBox process can write to it:
# The NetBox container runs the web process as 'unit' user (UID 999)
# The file needs to be writable by this user
chmod 666 ./requirements-extra.txt
  1. Restart the container to apply the volume mount changes.

How It Works

When properly configured:

  1. Click Add to Requirements on a plugin's install page
  2. The package spec is appended to requirements-extra.txt
  3. Edit configuration/plugins.py to add the plugin to PLUGINS
  4. Restart the container: docker-compose down && docker-compose up -d
  5. The container startup script installs packages from requirements-extra.txt

Troubleshooting

If you see "Manual Installation Required" instead of the install button:

  • Verify requirements-extra.txt is mounted with :rw (not :ro)
  • Check file permissions: ls -la requirements-extra.txt
  • Ensure the file exists (create an empty one if needed)

Security Considerations

  • Permissions: Only users with netbox_catalog.add_installationlog permission can install plugins
  • pip install: Runs in the same Python environment as NetBox
  • Docker: Writes to requirements-extra.txt, which is installed on container restart
  • Network access: Requires outbound HTTPS to pypi.org

Contributing

Contributions are welcome! Please feel free to submit issues and pull requests.

Adding Plugins to Curated Catalog

To add a plugin to the curated catalog, submit a PR updating catalog.json with:

  • category: One of the predefined categories
  • tags: Relevant keywords
  • certification: certified, compatible, untested, or deprecated
  • netbox_min_version: Minimum supported NetBox version
  • notes: Brief description or compatibility notes
  • recommended: Whether the plugin is recommended
  • featured: Whether to show in featured section

License

Apache License 2.0

Acknowledgments

  • NetBox - The leading network source of truth
  • NetBox Labs - Plugin catalog inspiration
  • All the NetBox plugin developers

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

netbox_plugin_catalog-0.3.3.tar.gz (43.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

netbox_plugin_catalog-0.3.3-py3-none-any.whl (51.2 kB view details)

Uploaded Python 3

File details

Details for the file netbox_plugin_catalog-0.3.3.tar.gz.

File metadata

  • Download URL: netbox_plugin_catalog-0.3.3.tar.gz
  • Upload date:
  • Size: 43.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for netbox_plugin_catalog-0.3.3.tar.gz
Algorithm Hash digest
SHA256 9d564b72993b9828644c014f1627ba0eb64c9fd4a9fdd29d7303f2e0b30538b7
MD5 0f878bb84e81ce89084bed097808dcaf
BLAKE2b-256 5e71ccc1eefe5873e1585bf5f92bd41a1fe1387ae43f6e93bdd23a852288031d

See more details on using hashes here.

Provenance

The following attestation bundles were made for netbox_plugin_catalog-0.3.3.tar.gz:

Publisher: release.yml on sieteunoseis/netbox-plugin-catalog

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file netbox_plugin_catalog-0.3.3-py3-none-any.whl.

File metadata

File hashes

Hashes for netbox_plugin_catalog-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 425ea27875ce36d59b6b61bd4c1911bc2bde2756e52e75a3c7327af675bdfc4d
MD5 d288d5ae1bcc078989216ea436d747de
BLAKE2b-256 ae677291895185c0e4102e54d0250880d584bebceed20da6db5b12d1d3dc2a65

See more details on using hashes here.

Provenance

The following attestation bundles were made for netbox_plugin_catalog-0.3.3-py3-none-any.whl:

Publisher: release.yml on sieteunoseis/netbox-plugin-catalog

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page