commit | 1b363f43e8acfebe206e1cd004f22efd834e25cd | [log] [tgz] |
---|---|---|
author | William Kurkian <wkurkian@cisco.com> | Tue Mar 12 15:28:12 2019 -0400 |
committer | William Kurkian <wkurkian@cisco.com> | Tue Mar 12 15:28:12 2019 -0400 |
tree | 73ebf2d226ad48c12bd26a80deb10e6b893bbe07 | |
parent | 909d7dc9c10e3dc68fd1e063c925ab556743e0ca [diff] |
VOL-1460 Removing temporary protos and adding in go stubs for linking to voltha-go Change-Id: Ia9714b506ddf15d651a82e9e250d55b43913a7c6
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.