FiberPI
Package that automates detecting contaminated fiber connectors between switches using the switch CLIs. Github Link
Installation
pip install FiberPI
Usage
import FiberPI as FPI
#Create the two switches
ubnt = FPI.node('Ubiquiti', '192.168.1.1', 'ubiquiti_edgeswitch', 'user', 'pass')
dlink = FPI.node('D-Link', '192.168.1.2', 'dlink_dgs', 'user', 'pass')
#Create the connection using a context manager to open and close connections
with FPI.connection('conn', ubnt, dlink, 1, 27, 0, 1, 1) as conn:
#Detect Contamination
result = conn.DetectContamination()
Contributing
Anyone is welcome to contribute, if you'd like send a pull request for major changes with the changes you'd like to make.
License
Release files for FiberPI 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| FiberPI-0.0.3.tar.gz | 3.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| FiberPI-0.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.1 kB
Release files / FiberPI-0.0.3.tar.gz
| Download URL | FiberPI-0.0.3.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5d127545dfa0d9b5f80d3196c6c3e2014397dbdc7035fa991b51af4f1351f3e9
|
|
BLAKE2b-256 checksum How to use checksums |
3b8dae90730f9fb6b062a484514c41e63b03547d4fb2090b19cb319017e5b969
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.4.2 requests/2.19.1 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.26.0 CPython/3.6.6
|
Release files / FiberPI-0.0.3-py3-none-any.whl
| Download URL | FiberPI-0.0.3-py3-none-any.whl |
|---|---|
| Size | 5.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8b71e430b8209dd3c419cc84ba950979d62296e3b4623d4e8ea88b4f784d857c
|
|
BLAKE2b-256 checksum How to use checksums |
2de227efdc0df8344337ff5ef07ce43cf43a5db5a1d9874e948bfd75e8900626
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.4.2 requests/2.19.1 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.26.0 CPython/3.6.6
|