Skip to content

Commit

Permalink
gRPC docs: include all needed paths
Browse files Browse the repository at this point in the history
Signed-off-by: George Melikov <mail@gmelikov.ru>
  • Loading branch information
gmelikov committed Jul 16, 2019
1 parent 50df039 commit 4267098
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/sources/grpc-client.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ We assumes that you have the relevant tools installed to generate the server and
You need to generate the server and client interface from GoBGP proto files at first.

```bash
$ python -m grpc_tools.protoc -I./api --python_out=. --grpc_python_out=. api/gobgp.proto api/attribute.proto api/capability.proto
$ python -m grpc_tools.protoc -I./api -I"$(GO111MODULE=on go list -f '{{ .Dir }}' -m github.com/golang/protobuf)"/ptypes --python_out=. --grpc_python_out=. api/gobgp.proto
api/attribute.proto api/capability.proto
```

### Adding Path
Expand Down

0 comments on commit 4267098

Please sign in to comment.