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:
- "pip install juraSSH" in your machine
- "from juraSSH import oneCMD"
- my_hosts = ["8.8.8.555", "4.4.4.444"]
- oneCMD.run_one_cmd(username, password, "show clock", my_hosts)
Example 2
To send multiple commands to multiple remote machines in parallel:
- "pip install juraSSH" in your machine
- "from juraSSH import multipleCMDs"
- my_hosts = ["8.8.8.555", "4.4.4.444"]
- commands = ["show clock", "show ip int brief", "show version"]
- 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)
Built Distribution
juraSSH-1.12-py3-none-any.whl
(5.3 kB
view hashes)