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.1.tar.gz (41.3 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.1-py3-none-any.whl (48.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: netbox_plugin_catalog-0.3.1.tar.gz
  • Upload date:
  • Size: 41.3 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.1.tar.gz
Algorithm Hash digest
SHA256 0b656f889f532c6c8f7abdb22261235f0b9badf1e53eba9e583d9975ef751f2a
MD5 6d5f592fa03d3ab1ef8d83d98733f08f
BLAKE2b-256 cfd052577c65cd22a8d8288c7d54fddf656785a4275229d16881bb788b5a4ce9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for netbox_plugin_catalog-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5b5bfd47fa9e9297cbbad42787d13c9cb89f215b98fa6e26986a74573edd104a
MD5 1582c94c083178dff353f579f2893c1d
BLAKE2b-256 881d6c8c0bb0ae9e742fe3d33a6e2647f1e7267e4709bed958fd2335c1d51c79

See more details on using hashes here.

Provenance

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