Class BinaryBGPDumpFileParser
java.lang.Object
org.opendaylight.protocol.bgp.util.BinaryBGPDumpFileParser
This extracter extracts BGP messages in binary form from a file in MRT format.
(http://www.ripe.net/data-tools/stats/ris/ris-raw-data) The parser detects BGP messages by searching for 16 FF bytes,
everything else before or after is ignored.
-
Method Summary
Modifier and TypeMethodDescriptionstatic List<byte[]>
parseMessages
(byte[] byteArray) Extract BGP messages from binary file in MRT format.
-
Method Details
-
parseMessages
Extract BGP messages from binary file in MRT format.- Parameters:
byteArray
- array of bytes with BGP messages in binary form.- Returns:
- list with byte arrays representing extracted messages.
-