-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Hi All,
I am downloading below MRT file from RIS and trying to parse it via zebra-dump-parser and bgpkit
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 PYBGPKIT it is split into 3 different BGP updates instead of 1. Is there a way we can show it as one BGP update under pybgpkit ?
Output from PYBGPKIT
{'timestamp': 1674224400.0, 'elem_type': 'A', 'peer_ip': '23.129.32.61', 'peer_asn': 49134, 'prefix': '200.169.64.0/24', 'next_hop': '23.129.32.61', 'as_path': '49134 53356 6939 265264 52976 16397 15830 265264 52976', 'origin_asns': [52976], 'origin': 'IGP', 'local_pref': 0, 'med': 0, 'communities': None, 'atomic': 'NAG', 'aggr_asn': None, 'aggr_ip': None}
{'timestamp': 1674224400.0, 'elem_type': 'A', 'peer_ip': '23.129.32.61', 'peer_asn': 49134, 'prefix': '200.169.67.0/24', 'next_hop': '23.129.32.61', 'as_path': '49134 53356 6939 265264 52976 16397 15830 265264 52976', 'origin_asns': [52976], 'origin': 'IGP', 'local_pref': 0, 'med': 0, 'communities': None, 'atomic': 'NAG', 'aggr_asn': None, 'aggr_ip': None}
{'timestamp': 1674224400.0, 'elem_type': 'A', 'peer_ip': '23.129.32.61', 'peer_asn': 49134, 'prefix': '200.169.65.0/24', 'next_hop': '23.129.32.61', 'as_path': '49134 53356 6939 265264 52976 16397 15830 265264 52976', 'origin_asns': [52976], 'origin': 'IGP', 'local_pref': 0, 'med': 0, 'communities': None, 'atomic': 'NAG', 'aggr_asn': None, 'aggr_ip': None}
Output from zebra-dump-parser
TYPE: BGP4MP/BGP4MP_MESSAGE_AS4 AFI_IP
FROM: 23.129.32.61
TO: 193.0.4.28
BGP PACKET TYPE: UPDATE
ORIGIN: IGP
AS_PATH: 49134 53356 6939 265264 52976 16397 15830 265264 52976
NEXT_HOP: 23.129.32.61
ANNOUNCED: 200.169.64.0/24
ANNOUNCED: 200.169.67.0/24
ANNOUNCED: 200.169.65.0/24
Metadata
Metadata
Assignees
Labels
No labels