commit | 37e0fc6c94cd5c28cda30a83522943390b880c1f | [log] [tgz] |
---|---|---|
author | Matt Jeanneret <mj3580@att.com> | Thu Mar 07 12:33:21 2019 -0500 |
committer | Matt Jeanneret <mj3580@att.com> | Thu Mar 07 12:34:36 2019 -0500 |
tree | 6742c358fece4f212a379c8f7213f2eb6f638f1e | |
parent | 86cd9de9431b0d4363f4e2256f709b3322686b1e [diff] |
VOL-1460 make clean better at cleaning Change-Id: I90b8f5e755549a50b7d72eeef87b9cc122c50782
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.