commit | 909d7dc9c10e3dc68fd1e063c925ab556743e0ca | [log] [tgz] |
---|---|---|
author | Matt Jeanneret <mj3580@att.com> | Fri Mar 08 17:21:09 2019 -0500 |
committer | Matt Jeanneret <mj3580@att.com> | Fri Mar 08 17:30:52 2019 -0500 |
tree | 4e681d78ea269988c3eae6142247c4b52376a06c | |
parent | 31f5b5c27605deb81e84d35546b595a2719e2d84 [diff] |
VOL-1493 VOL-1454: Add new interadaptermessage types. Needed for onu indications before omci even starts. This is typical of OLT that have separate states for discovering an onu (before onu id is assigned) versus PLOAM activation (after onu id assigned). The ONU_IND lets other adapters know and act on the ploam activation or deactivation. Change-Id: Ic741fe7114ee68c9ad22336df476701257a1c5b5
Protobuf files used by VOLTHA.
Currently this is used to generate both go and python.
Protobuf definition files are located in protos/voltha_protos
directory. This directory heirarchy and import scheme is required to allow the python code generated by the GRPC compiler to have the correct import paths.
NOTE: The
protos/google/api
directory has files copied from the Google APIs, and is only included for initial compilation of the VOLTHA protobuf files - these API's should be installed independently via either the python googleapis-common-protos package or the golang go-genproto repo.
make build
use dist/*.tar.gz for local imports
Installation: pip install voltha-protos
Use: from voltha_protos import voltha_pb2
go get ...
make test
will run tests for all languages.