ribeye

Crates.ioribeye
lib.rsribeye
version0.3.0
sourcesrc
created_at2023-08-06 16:02:33.257405
updated_at2024-01-09 16:57:19.835655
descriptionribeye -- a Rust library for BGP RIB data processing.
homepage
repositoryhttps://github.com/bgpkit/ribeye
max_upload_size
id937259
size102,042
Mingwei Zhang (digizeph)

documentation

https://docs.rs/ribeye

README

ribeye

BGP RIB processing framework written in Rust.

Progress

Processors:

  • peer-stats: collector peer information from a given RIB dump file
  • pfx2as: prefix-to-AS mapping from a given RIB dump file
  • as2rel: AS-level relationship

Aggregator (aggregate from all files of the same day):

  • peer-stats
  • pfx2as
  • as2rel

Run

Set up a cronjob (ideally 2+ hours after UTC midnight) and run the following command to generate daily data:

ribeye cook --dir /DATA/PATH/TO/OUTPUT/DIRECTORY

See the Hashicorp Nomad job spec for an example Nomad deployment.

Examples

See examples/ directory for usage examples.

Commit count: 16

cargo fmt