Skip to main content

SSH Client Framework for Network Automation

Project description

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

Author: David Johnnes

email: david.johnnes@gmail.com

First step: run 'pip install juraSSH' in your machine.

========================================================

Example1:

========

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

from juraSSH import oneCMD

my_hosts = ["8.8.8.8", "4.4.4.4"]

oneCMD.run_one_cmd(username="cisco", password="cisco", command="show clock", hosts_file=my_hosts)

Example2:

========

To send multiple commands to multiple remote machines in parallel:

from juraSSH import multipleCMDs

my_hosts = ["8.8.8.8", "4.4.4.4"]

my_commands = ["show clock", "show ip int brief", "show version"]

multipleCMDs.run_multiple_cmds(username="cisco", password="cisco", commands=my_commands, hosts_file=my_hosts)

If you need some help: drop me an e-mail.

If you need an Expert for your network automation projects: drop me an e-mail.

If you need an Expert to introduce network automation in you company: drop me an e-mail.

If you need an Expert to help you create your own automation tools: drop me an e-mail.

If you need an Expert to teach 'Python for Network Engineers' on premises: drop me an e-mail.

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.9.tar.gz (3.2 kB view hashes)

Uploaded Source

Built Distribution

juraSSH-1.9-py3-none-any.whl (5.2 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