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.1.4.tar.gz (31.5 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.1.4-py3-none-any.whl (38.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: netbox_plugin_catalog-0.1.4.tar.gz
  • Upload date:
  • Size: 31.5 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.1.4.tar.gz
Algorithm Hash digest
SHA256 ea5f8f9deb2241439cac2f702afe9b6b975ab74c718dffef4f0b3bb83c5e820b
MD5 19128a6446740279f5948c2f85d98e2e
BLAKE2b-256 66cbfc204e6ece2c56e42fb8eaf31264bb20fc445cba05fdef2818fadf1d46e3

See more details on using hashes here.

Provenance

The following attestation bundles were made for netbox_plugin_catalog-0.1.4.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.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for netbox_plugin_catalog-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 c6f2e05e626cb30899c875eaac4bb685f26826e4111be9d61d3ae596fa22461c
MD5 47b9703ea85986a0d27c87beddf06d34
BLAKE2b-256 54728cdac3a7fbe2253bf2277cb43c303ecf982383b10603d49cee8e1355d41e

See more details on using hashes here.

Provenance

The following attestation bundles were made for netbox_plugin_catalog-0.1.4-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