Skip to main content

SSH Client Framework for Network Automation

Project description

SSH Client Framework

This framework is to be used for DevOps, Infrastructure As Code and Network Automation projects.

Advantages:

Simple, Fast and Secure method to:

  • Create automated tools to backup Routers, Switches and Access-Points
  • Create automated tools for dynamic network configuration generation
  • Create automated tools for configurations roll-out
  • Create automated tools for network devices audit
  • Create automated tools for network devices inventory generation
  • Create automated tools for network devices trouble-shooting

How to use the framework.

Example 1

To send a single command to multiple remote machines in parallel:

  1. "pip install juraSSH" in your machine
  2. "from juraSSH import oneCMD"
  3. my_hosts = ["8.8.8.555", "4.4.4.444"]
  4. oneCMD.run_one_cmd(username, password, "show clock", my_hosts)

Example 2

To send multiple commands to multiple remote machines in parallel:

  1. "pip install juraSSH" in your machine
  2. "from juraSSH import multipleCMDs"
  3. my_hosts = ["8.8.8.555", "4.4.4.444"]
  4. commands = ["show clock", "show ip int brief", "show version"]
  5. multipleCMDs.run_multiple_cmds(username, password, commands, my_hosts)

You can execute multiple command on hundreds or thousands devices in parallel !!.

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

juraSSH-1.12.tar.gz (3.4 kB view hashes)

Uploaded Source

Built Distribution

juraSSH-1.12-py3-none-any.whl (5.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page