openolt quickstart
openolt is a collection of programs for managing Optical Line Terminals (OLTs) that support the VOLTHA project's Openolt api.
Install and start Confluent Kafka
TODO - Add help and links to Confluent docs
Install openolt
Get the code
git clone git@github.com:shadansari/openolt.git
Create the virtual env
All commands needs to run in a virtual env with PYTHONPATH set.
cd openolt
pipenv shell
export PYTHONPATH=$PYTHONPATH:$PWD:$PWD/protos/third_party
Connect to OLT and publish events to Kafka
Fetch openolt indications from the device and publish to Kafka
python openolt/sb_grpc.py localhost:9092 10.90.0.114:9191
Read openolt indications from kafka
confluent-kafka/consumer.py localhost:9092 foo openolt.ind-10.90.0.114
Metadata
Release files for openolt 1.6.1.28
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| openolt-1.6.1.28.tar.gz | 18.2 kB | Details |
Release files / openolt-1.6.1.28.tar.gz
| Download URL | openolt-1.6.1.28.tar.gz |
|---|---|
| Size | 18.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4ee1c827446687d3d5532b380a523c866804c0324cb224e4699c1c81576dcdb8
|
|
BLAKE2b-256 checksum How to use checksums |
ba18fa8bfb47bcad7a4bbb4647347ad3ac3db1442a00567f3c99a1bfd639c3e3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/2.7.12
|