Package to detect contaminated fiber connectors
Project description
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
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
FiberPI-0.0.3.tar.gz
(3.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file FiberPI-0.0.3.tar.gz.
File metadata
- Download URL: FiberPI-0.0.3.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5d127545dfa0d9b5f80d3196c6c3e2014397dbdc7035fa991b51af4f1351f3e9
|
|
| MD5 |
19a5b662904db2ca26d0fb3ab010dca0
|
|
| BLAKE2b-256 |
3b8dae90730f9fb6b062a484514c41e63b03547d4fb2090b19cb319017e5b969
|
File details
Details for the file FiberPI-0.0.3-py3-none-any.whl.
File metadata
- Download URL: FiberPI-0.0.3-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8b71e430b8209dd3c419cc84ba950979d62296e3b4623d4e8ea88b4f784d857c
|
|
| MD5 |
a61655a6b44d85449a57991b7a75f027
|
|
| BLAKE2b-256 |
2de227efdc0df8344337ff5ef07ce43cf43a5db5a1d9874e948bfd75e8900626
|