You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As you can see in below output, according to zebra-dump-parser we have one BGP update containing 3 announced prefixes. But in the case of bgpreader it is split into 3 different BGP updates instead of 1. Is this right behavior ?
Yes, this is by design.
BGPStream decomposes a single update ("record" in BGPStream terminology) into one "elem" per prefix -- this is because almost nobody cares about processing the update itself, they care about the prefixes contained in the update.
If you really care about the way the prefixes were packed together by the router, then you can iterate over records and for each record, iterate over its elems (this is what is happening under the hood when you iterate over a stream in pybgpstream).
You can read more about this here: https://bgpstream.caida.org/docs/encoding
Hi All,
I am downloading below MRT file from RIS and trying to parse it via zebra-dump-parser and pybgpstream
wget https://data.ris.ripe.net/rrc00/2023.01/updates.20230120.1420.gz
As you can see in below output, according to zebra-dump-parser we have one BGP update containing 3 announced prefixes. But in the case of bgpreader it is split into 3 different BGP updates instead of 1. Is this right behavior ?
Output from zebra-dump-parser
Output from bgpreader
The text was updated successfully, but these errors were encountered: