Ubiquiti UFiber Client for firmware version 3
Project description
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>
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
Built Distribution
File details
Details for the file ufiber_client3-1.0.1.tar.gz
.
File metadata
- Download URL: ufiber_client3-1.0.1.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7fa921040d2953ac5e85c72edc1389acd84e6e59351d66998eaf18c2f7e24ce6 |
|
MD5 | a0477cce8254c14fd3af3bb4c746a931 |
|
BLAKE2b-256 | eae4c5886d92978826069d1094aa23762c97360aa9524cdb49042493d51fc5f9 |
File details
Details for the file ufiber_client3-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: ufiber_client3-1.0.1-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b86b9f831fdc1677bdee4f5ea863322ee03fcba126173cca3f7e186139bf5e9b |
|
MD5 | 5d9f5759f89fe83fbcc5ea34dec9511f |
|
BLAKE2b-256 | 9ac9dd2309ab253cd6689696e378af0b8b852e0c6c0da2a4819b2e1755cd8ce7 |