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.2.tar.gz (67.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.2-py3-none-any.whl (88.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: netbox_toolkit_plugin-0.1.2.tar.gz
  • Upload date:
  • Size: 67.4 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.2.tar.gz
Algorithm Hash digest
SHA256 db17ff162bcfab644f035b00dc04555c297615266b5b0987208e6e6ce0b5bcd2
MD5 46c991329499b1594fda0bcbb1a9edd7
BLAKE2b-256 294ce79dddaa3660f00b172cf2f4522c31b72106176bb417d91a281772336f5a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for netbox_toolkit_plugin-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1ac00e6859ab7d7f122f10e3c6b80dec23c65a7a5282f5d48376a05a764aba2a
MD5 17669cf557b2e3429fbc0300433411ae
BLAKE2b-256 65efdba3b1ad9e7b535476ca54987bc1baa825a607d5679b436c081d4abc42e0

See more details on using hashes here.

Provenance

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