Skip to content

Commit

Permalink
Merge pull request #170 from hyun-arista/gnmi_reflections
Browse files Browse the repository at this point in the history
For gnmi_ext.proto, run protoc with github.com/openconfig/gnmi/proto/gnmi_ext/gnmi_ext.proto (this is for reflections).
  • Loading branch information
robshakir authored Jan 23, 2025
2 parents b8abd10 + 6a8ec1f commit 6db76cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compile_protos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ proto_imports_go=".:${protobufsrc}:${googleapis}:${GOPATH}/src"
protoc -I=$proto_imports_go --go_out=. --go_opt=paths=source_relative --go-grpc_out=. --go-grpc_opt=paths=source_relative,require_unimplemented_servers=false testing/fake/proto/fake.proto
protoc -I=$proto_imports_go --go_out=. --go_opt=paths=source_relative --go-grpc_out=. --go-grpc_opt=paths=source_relative,require_unimplemented_servers=false proto/gnmi/gnmi.proto
protoc -I=$proto_imports_go --go_out=. --go_opt=paths=source_relative --go-grpc_out=. --go-grpc_opt=paths=source_relative,require_unimplemented_servers=false proto/collector/collector.proto
protoc -I=$proto_imports_go --go_out=. --go_opt=paths=source_relative proto/gnmi_ext/gnmi_ext.proto
protoc -I=$proto_imports_go --go_out=${GOPATH}/src --go_opt=paths=source_relative github.com/openconfig/gnmi/proto/gnmi_ext/gnmi_ext.proto
protoc -I=$proto_imports_go --go_out=. --go_opt=paths=source_relative proto/target/target.proto

# Python
Expand Down

0 comments on commit 6db76cf

Please sign in to comment.