diff options
author | ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> | 2015-12-22 15:25:08 +0900 |
---|---|---|
committer | ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> | 2015-12-22 15:29:29 +0900 |
commit | c0e0aafa749f893d7b4f75a8dd7b93fea8153cdc (patch) | |
tree | d2945b296e97bf99126cf95c7829bd77a1ebb1f7 /tools/grpc/nodejs/get_neighbors.js | |
parent | 406efffa74eadb44826e4b464dc2fbabdddf72c4 (diff) |
gobgpd/gobgp: change grcp port to 50051 from 8080
also add an option to change grpc port
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'tools/grpc/nodejs/get_neighbors.js')
-rw-r--r-- | tools/grpc/nodejs/get_neighbors.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/grpc/nodejs/get_neighbors.js b/tools/grpc/nodejs/get_neighbors.js index c1ec763b..ba2296fa 100644 --- a/tools/grpc/nodejs/get_neighbors.js +++ b/tools/grpc/nodejs/get_neighbors.js @@ -1,6 +1,6 @@ var grpc = require('grpc'); var api = grpc.load('gobgp.proto').gobgpapi; -var stub = new api.GobgpApi('localhost:8080', grpc.Credentials.createInsecure()); +var stub = new api.GobgpApi('localhost:50051', grpc.Credentials.createInsecure()); var call = stub.getNeighbors({}); call.on('data', function(neighbor) { |