commit | 86cd9de9431b0d4363f4e2256f709b3322686b1e | [log] [tgz] |
---|---|---|
author | William Kurkian <wkurkian@cisco.com> | Wed Mar 06 10:10:30 2019 -0500 |
committer | William Kurkian <wkurkian@cisco.com> | Wed Mar 06 10:11:16 2019 -0500 |
tree | f88a5523a7b6cccf0b8b319356be6bc2559f538d | |
parent | f262e633c07385bc23317d280570c1af2ceb8c17 [diff] |
VOL-1460 Setting to a dev release until we want to do another pypi release. Change-Id: I971bbb8441dee13145eaff126760c711596fd506
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.