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.0.tar.gz (61.1 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.0-py3-none-any.whl (78.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for netbox_toolkit_plugin-0.1.0.tar.gz
Algorithm Hash digest
SHA256 de4dd94278d6b3769e3bd4489d114f8045c6408712ad82e683c04dcd0003497c
MD5 4c760fa1c67bfb2b310bb51f0c3a736d
BLAKE2b-256 6068f36ce6467f0c57d4582a601b688e6fcf3cc7e70ad25be9bcac9f8cf41b3d

See more details on using hashes here.

Provenance

The following attestation bundles were made for netbox_toolkit_plugin-0.1.0.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.0-py3-none-any.whl.

File metadata

File hashes

Hashes for netbox_toolkit_plugin-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4f5ad6e0195d53c2d2810da4f76513d02070c0f2ef93395bcf5651189c0ed2ad
MD5 661c681c82254c54fb41b1f1338b70ea
BLAKE2b-256 41156f8267ca37ad04265c70871eafe3593a57d0b158a626b321cd86b51110fb

See more details on using hashes here.

Provenance

The following attestation bundles were made for netbox_toolkit_plugin-0.1.0-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