FiberPI-0.0.3
توضیحات
Package to detect contaminated fiber connectors
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | FiberPI-0.0.3 |
| نام | FiberPI |
| نسخه کتابخانه | 0.0.3 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Christopher Mendoza |
| ایمیل نویسنده | camendoza7@miners.utep.edu |
| آدرس صفحه اصلی | https://github.com/utepnetlab/fiberPI |
| آدرس اینترنتی | https://pypi.org/project/FiberPI/ |
| مجوز | - |
# FiberPI
Package that automates detecting contaminated fiber connectors between switches using the switch CLIs.
[Github Link](https://github.com/utepnetlab/fiberPI)
## Installation
```bash
pip install FiberPI
```
## Usage
```python
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
[MIT](https://choosealicense.com/licenses/mit/)
نحوه نصب
نصب پکیج whl FiberPI-0.0.3:
pip install FiberPI-0.0.3.whl
نصب پکیج tar.gz FiberPI-0.0.3:
pip install FiberPI-0.0.3.tar.gz