Skip to main content

NetBox plugin for running pre-defined commands on network devices

Project description

NetBox Command Toolkit Plugin

⚠️ EARLY DEVELOPMENT WARNING ⚠️
This plugin is in very early development and not recommended for production use. There will be bugs and possible incomplete functionality. Use at your own risk! If you do, give some feedback in Discussions

A NetBox plugin that allows you to run commands on network devices directly from the device page.

📋 Feature Overview

  • 🔧 Command Creation: Define platform-specific commands (show/config types)
  • 🔐 Command Permissions: Granular access control using NetBox's permission system
  • ⚡ Command Execution: Run commands directly from device pages via "Toolkit" tab
  • 📄 Raw Output: View complete, unfiltered command responses
  • 🔍 Parsed Output: Automatic JSON parsing using textFSM templates
  • 📊 Command Logs: Complete execution history with timestamps
  • 🐛 Debug Logging: Optional detailed logging for troubleshooting

Built with:

  • Scrapli for device connections
  • Netmiko as a fallback for problematic devices
  • TextFSM for structured data parsing

Created with:

  • VSCode
  • Copilot
  • RooCode

This project is a work in progress and in early development. It is not recommended for production use. Feedback and contributions are welcome!

📚 Essential Guides

🚀 Getting Started

📋 Command Management

🔧 Troubleshooting

Contributing

🚀 Want to Contribute? Start with the Contributor Guide for a fast overview of the codebase.

Future ideas:

  • Enhance API to allow execution of commands and return either parsed or raw data.
  • Enable variable use in the command creation and execution, based on device attributes.

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_toolkit_plugin-0.1.3.tar.gz (68.4 kB view details)

Uploaded Source

Built Distribution

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

netbox_toolkit_plugin-0.1.3-py3-none-any.whl (89.8 kB view details)

Uploaded Python 3

File details

Details for the file netbox_toolkit_plugin-0.1.3.tar.gz.

File metadata

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

File hashes

Hashes for netbox_toolkit_plugin-0.1.3.tar.gz
Algorithm Hash digest
SHA256 360362a37a75d56cf2d2f6375c948d12438aa9d9c53d675a333a5d0a57ca35fc
MD5 2d5472315173eee843f9208adaa5e3be
BLAKE2b-256 967d1f44d1ce896654d09027aaadf6d8fd49ed0d3b4eaa2f69d257a4d9be19c9

See more details on using hashes here.

Provenance

The following attestation bundles were made for netbox_toolkit_plugin-0.1.3.tar.gz:

Publisher: publish-pypi.yaml on bonzo81/netbox-toolkit-plugin

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_toolkit_plugin-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for netbox_toolkit_plugin-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 0d83e7b369679ccd8f14219166a4ae0e16ea44918d00375703f2ef8821b25b2c
MD5 e47a0a8e5f7dff948be1577119b92ac2
BLAKE2b-256 58c66fb8b632562de42aa9a03d5cc7d8a53392b339ecbbd61dd322268002fc99

See more details on using hashes here.

Provenance

The following attestation bundles were made for netbox_toolkit_plugin-0.1.3-py3-none-any.whl:

Publisher: publish-pypi.yaml on bonzo81/netbox-toolkit-plugin

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