SEBA-758 send periodic port stats to voltha
SEBA-790 get flow, gemport, and tcont information through API
fix lint errors
Change-Id: I10909e1992eba71d8e54c976ccbcea8778e35539
diff --git a/Makefile b/Makefile
index 37ae4a0..6cfcc89 100644
--- a/Makefile
+++ b/Makefile
@@ -29,6 +29,7 @@
DOCKER_LABEL_BUILD_DATE ?= $(shell date -u "+%Y-%m-%dT%H:%M:%SZ")
GRPC_GW_PATH ?= $(shell GO111MODULE=on go list -f '{{ .Dir }}' -m github.com/grpc-ecosystem/grpc-gateway)
+PROTO_PATH ?= $(shell GO111MODULE=on go list -f '{{ .Dir }}' -m github.com/opencord/voltha-protos)
bbsim: dep bbsimapi
GO111MODULE=on go build -i -v -o $@
@@ -45,6 +46,7 @@
@protoc -I ./api \
-I${GRPC_GW_PATH}/third_party/googleapis/ \
-I${GRPC_GW_PATH}/ \
+ -I${PROTO_PATH}/protos/ \
--go_out=plugins=grpc:api/ \
--grpc-gateway_out=logtostderr=true,allow_delete_body=true:api/ \
api/bbsim.proto
@@ -54,7 +56,7 @@
-I${GRPC_GW_PATH}/third_party/googleapis/ \
-I${GRPC_GW_PATH}/ \
--swagger_out=logtostderr=true,allow_delete_body=true:api/swagger/ \
- bbsim.proto
+ api/bbsim.proto
test: dep bbsimapi
GO111MODULE=on go test -v ./...