Package netcontrol
Project description
NAME: netcontrol
DESCRIPTION:
'netcontrol' is a python package to control or configure remote devices through ssh.
Is has been designed to run Unittest offline using a mocked paramiko package returning predefined files in place of STDIN, STDOUT and STDERR.
Predefined files are located in the subproject (aka: vyosctl, fpocctl, vmctl) directory 'tests/mocked_files'
There name is based on the remote command issued with translations such as :
- space replaced with _
- | replace with -
- / replaced with _
The mocked paramiko package is located in netcontrol/ssh/tests/paramiko.
Mocked files are located in netcontrol/ssh/tests/mockfiles.
AUTHOR:
Cedric GUSTAVE
INSTALL:
- netcontrol should be installed via pip from pypi.org.
pip install netcontrol
- Project is hosted on github
https://github.com/cgustave/netcontrol
Supported network protocols :
- ssh (using paramiko)
Supported types of remote devices are :
- fortipoc (using 'fpoc')
- vyos (using 'vyos')
- kvm host (using 'vm')
- fortigate (using 'fortigate')
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
netcontrol-1.45.tar.gz
(22.3 kB
view hashes)
Built Distribution
netcontrol-1.45-py3-none-any.whl
(26.9 kB
view hashes)
Close
Hashes for netcontrol-1.45-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c42b8d163bb885dce0b28edb32863ae2d8f3854450a247133e6f11877643bec |
|
MD5 | e342d1dc456b76f94a0e38b0041cdf0d |
|
BLAKE2b-256 | 2db2ee8f9e2bbebbd0f9a9cba4daff4c30b24a2d6c0af73e7326f4ffdbccfcb9 |