-
Notifications
You must be signed in to change notification settings - Fork 686
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does goBGP support batch collection of full routing tables of specified AFI and SFAFI types through gRPC API (acquire in batches and multiple times)? #2747
Comments
BGP route on RR-Client(Router-ID:192.168.131.87, ASN:1000) BGP-RR(Router-ID:192.168.131.87, ASN:1000)-------RR-Client(Router-ID:192.168.111.105, ASN:100) When I call the GetTable function through the gRPC interface to obtain BGP routes on RR-Client (192.168.111.105), goBGP returns "doesn't have local rib". Is the gRPC parameter configuration incorrect? Thanks very much. |
You need to use ListPath API to get paths. |
@fujita Thanks. |
I think that you could implement your own BMP server implementation by using OSS BMP implementations like https://github.com/sbezverk/gobmp |
@fujita If we run the BMP protocol on goBGP to export BGP routes, we need to deploy a program similar to goBMP to receive the routes from goBGP mirrored through the BMP protocol, and then obtain them through the communication protocol established with goBMP (such as Kafka) to the required BGP route. The additional deployment of goBMP and the establishment of a communication protocol with goBMP are too complex for practical applications. If goBGP can directly export tiled routing update messages while exporting MRT format files, instead of the original BGP routing format (as you known, the routing format of the BGP protocol is too complex and constantly evolving, even if we implement BMP Server by ourselves), this will be very useful for real-time collection of BGP routing. help. Is there currently such a mechanism or can it be implemented? We want to reuse goBGP's BGP route collection, parsing, and export capabilities, instead of implementing a program for parsing BGP protocol routes, which will increase additional protocol processing costs and error risks. |
How you store collected data? |
@fujita |
WatchEvent API might work for you: |
@fujita Thanks very much. |
Please check out the CLI code to use the WatchEvent API: |
Thanks. |
used incorrectly. Please read the source of the CLI. |
@fujita |
https://github.com/pseudomuto/protoc-gen-doc |
|
You meant that |
Our requirement is to regularly obtain the full set of BGP routes of specified AFI and SAFI types in memory in a lightweight manner. The operations of collecting BGP routes using BMP and MRT methods are relatively cumbersome and heavy-duty.
If we collect BGP routes through the BMP protocol, we need to run additional BMP client protocols and parse the BMP protocol, and there are few open source software of this type.
If we use the MRT protocol to collect BGP routes, we also need to additionally run the MRT client and MRT file parsing program.
The text was updated successfully, but these errors were encountered: