Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate roto-api in Krill replacing RISwhois #1233

Merged
merged 23 commits into from
Dec 20, 2024
Merged

Integrate roto-api in Krill replacing RISwhois #1233

merged 23 commits into from
Dec 20, 2024

Conversation

Koenvh1
Copy link
Contributor

@Koenvh1 Koenvh1 commented Oct 28, 2024

This PR replaces the downloading and parsing of RISwhois files in Krill with the roto-api.

Requires NLnetLabs/rpki-rs#306 to work

@Koenvh1 Koenvh1 requested a review from a team October 28, 2024 12:37

use crate::commons::api::TypedPrefix;
use crate::commons::api::{Ipv4Prefix, Ipv6Prefix, TypedPrefix};

//------------ IpRange -----------------------------------------------------
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it make sense to clean up the range code in rpki-rs further and then use its types directly?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For that there would first need to be a V4/V6 range in rpki-rs (which strikes me as a good idea). However, the Krill counterparts are used far and wide throughout the system and slightly differ implementation-wise, so I am not sure if we want to do that as part of this PR.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point. I guess this goes onto the Big Cleanup pile.

@partim partim marked this pull request as ready for review December 20, 2024 13:23
@partim partim merged commit 6da2c80 into main Dec 20, 2024
18 checks passed
@partim partim deleted the integrate-bgp-api branch February 7, 2025 11:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants