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 details)
Built Distribution
File details
Details for the file juraSSH-1.12.tar.gz
.
File metadata
- Download URL: juraSSH-1.12.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.26.0 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 304c5c3a3287ce0cdb395ba4b3a8878ce2a432dbd52e85e3ed53eb85d7e5c25f |
|
MD5 | d2f4720e94591fa93f1f3e950c1ce572 |
|
BLAKE2b-256 | 11ecf7f09d70084b4371ee71d28a12600f69b9f9bb280ce442e60bd3cb6355bb |
File details
Details for the file juraSSH-1.12-py3-none-any.whl
.
File metadata
- Download URL: juraSSH-1.12-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.26.0 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b8731ffad98f1a22a36402ced380f126a1ece24597fe63bea3a5a1ef05159a3 |
|
MD5 | 1942252d3d6f4b8f119007a261b9d800 |
|
BLAKE2b-256 | ce6d76cda412dced3dbbf1f67c7154daa1681c6c42bf0134a2fbc1a759813316 |