Hi all,

I'm  playing with Gobgp using python grpc interface (the version from the 
tutorial), and I'm having some troubles when trying to expand the get_neighbor 
example:


path1 = 
gobgp_pb2.Path(nlri="/8,10",source_asn=65000,is_from_external=False,neighbor_ip="192.168.222.1")
dest1 = gobgp_pb2.Destination(prefix="10.0.1.0/30", paths=[path1])
table = gobgp_pb2.Table( destinations=[dest1])


How to tell which fields must be set and which not? looking at gobgp.proto all 
fields looks optional but the server doesn't like my messages and I'm always 
getting this message:


  rib = stub.GetRib(table,10)
  File "build/bdist.linux-x86_64/egg/grpc/framework/crust/implementations.py", 
line 73, in __call__
  File "build/bdist.linux-x86_64/egg/grpc/framework/crust/_calls.py", line 109, 
in blocking_unary_unary
  File "build/bdist.linux-x86_64/egg/grpc/framework/crust/_control.py", line 
412, in next
 grpc.framework.interfaces.face.face.RemoteError



Thanks you for your help.

ibrahim

------------------------------------------------------------------------------
_______________________________________________
gobgp-devel mailing list
gobgp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gobgp-devel

Reply via email to