ufiber-client
This is a quick dirty project built to provide a quick dirty client for Ubiquiti UFiber OLTs, using firmware version 3.x
There is also a CLI attempt, but I couldn't find any ready to use packages to build a decent CLI.
More info about what am I doing this is on the following entries:
- https://arturobaldo.com.ar/ufiber-olt-api/
- https://arturobaldo.com.ar/digging-into-ubiquitis-ufiber-olt/
olt.py
This is the core of the project. It uses the OLTCLient class to provide a middleware between you and the HTTP interface of the olt.
Initialize a new OLTClient instance with:
client = olt.OLTClient(host, username, password)
The initialization will handle the login for you, altough you can call the login() method manually.
If the OLT is network reacheable, and you have provided the right credentials, and the OLT WEB GUI is alive and well, you should be ready to start.
You can also connect using cli.py:
$ /cli.py
UFiber Client for fw version 3.1.3
UFiber> help
Documented commands (type help <topic>):
========================================
connect help onu quit show
UFiber> connect 10.20.0.101
Username:admin
Password:
Logging to 10.20.0.101 ...
Connection OK
UFiber>
Metadata
Release files for ufiber-client3 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ufiber_client3-1.0.1.tar.gz | 4.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ufiber_client3-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.9 kB
Release files / ufiber_client3-1.0.1.tar.gz
| Download URL | ufiber_client3-1.0.1.tar.gz |
|---|---|
| Size | 4.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7fa921040d2953ac5e85c72edc1389acd84e6e59351d66998eaf18c2f7e24ce6
|
|
BLAKE2b-256 checksum How to use checksums |
eae4c5886d92978826069d1094aa23762c97360aa9524cdb49042493d51fc5f9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Release files / ufiber_client3-1.0.1-py3-none-any.whl
| Download URL | ufiber_client3-1.0.1-py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b86b9f831fdc1677bdee4f5ea863322ee03fcba126173cca3f7e186139bf5e9b
|
|
BLAKE2b-256 checksum How to use checksums |
9ac9dd2309ab253cd6689696e378af0b8b852e0c6c0da2a4819b2e1755cd8ce7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|