[−][src]Crate routinator
The Routinator Library
This crate contains all the moving parts of the Routinator. The
application itself, via main.rs
is only a very tiny frontend.
In addition, this also lets you use Routinator as a library for your own dedicated RPKI validation needs. The operation module should serve as a good starting point and set of examples since it contains the code for the various commands Routinator provides.
The most important modules of the crate are:
- config, which contains all the configuration options as well as means to load them from config files and command line options,
- repository, which provides access to the local copy of the RPKI repository and knows how to update and validate it,
- origins, which allows working with the result of validation, and
- metrics, which contains useful metrics.
The additional modules provide additional functionality provided or relied upon by Routinator.
Re-exports
pub use self::config::Config; |
pub use self::operation::Error; |
pub use self::operation::ExitError; |
pub use self::operation::Operation; |
Modules
config | Configuration. |
http | The HTTP server. |
metrics | Monitoring metrics. |
operation | What Routinator can do for you. |
origins | |
output | Output of lists of VRPs. |
repository | The local copy of the RPKI repository. |
rrdp | |
rsync | |
rtr | The RPKI to Router Protocol. |
slurm | Local exceptions per RFC 8416 aka SLURM. |
utils | Various useful things. |
validity | Checking for validity of route announcements. |