SkillAgentSearch skills...

Naas

Netmiko as a Service

Install / Use

/learn @lykinsbd/Naas
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

NAAS

Netmiko As A Service - REST API wrapper for network device automation

Tests Code Quality Docker Build codecov Documentation Status

NAAS provides a production-ready REST API for Netmiko, enabling network automation through HTTP instead of SSH. Run commands on network devices, manage configurations, and integrate with existing tools—all through a simple API.

Quick Start

# Start with Docker Compose
git clone https://github.com/lykinsbd/naas.git
cd naas
docker compose up -d

# Send a command
curl -k -X POST https://localhost:8443/v1/send_command \
  -u "username:password" \
  -H "Content-Type: application/json" \
  -d '{"ip": "192.168.1.1", "platform": "cisco_ios", "commands": ["show version"]}'

📖 Full documentation | 🚀 Installation guide | 📚 API reference

Why NAAS?

  • Centralized access - Single API endpoint for all network devices, simplifying security and compliance
  • HTTPS everywhere - Proxy SSH/Telnet through HTTPS without complex tunneling
  • Asynchronous execution - Non-blocking job queue handles long-running commands
  • Multi-platform - Supports 100+ device types via Netmiko
  • Production-ready - 100% test coverage, Docker deployment, horizontal scaling

Key Features

v1.3 (Latest)

  • TextFSM structured output - Parse command output into typed data structures
  • 🔍 Platform autodetect - Automatic device type detection via SSHDetect
  • Connection pooling - Persistent SSH connections for better performance
  • 📊 Prometheus metrics - Monitor performance and health at /metrics
  • 🛑 Job cancellation - Cancel running jobs via DELETE endpoint
  • 📝 Audit events - Structured logging for compliance and troubleshooting

Core Features

  • ✅ RESTful API with async job processing
  • 🔒 HTTPS with TLS and HTTP Basic Auth
  • 🐳 Docker Compose and Kubernetes deployment
  • 📊 Redis-backed job queue (RQ)
  • 🚀 Horizontal scaling support
  • 🔌 All Netmiko platforms supported
  • 🔐 Circuit breaker pattern for failing devices
  • 🎯 100% test coverage

Documentation

Contributing

Contributions welcome! See the Contributing Guide for development setup, workflow, and guidelines.

Support

License

MIT License - see LICENSE file for details


Built with Netmiko by Kirk Byers

Related Skills

View on GitHub
GitHub Stars62
CategoryDevelopment
Updated7d ago
Forks3

Languages

Python

Security Score

95/100

Audited on Mar 25, 2026

No findings