-
Notifications
You must be signed in to change notification settings - Fork 2
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
Implement IRR-based filter generation #2
Comments
Will need to add a CLI argument for the API endpoint (e.g. https://irr.forksystems.net/) and some internal functions to handle the different queries needed. I should also look into GraphQL client libraries. |
Okay, I think there are two parts to this:
We just need to add a cron job that updates the prefix-list file referred to above (where the command to run is something like
|
Ah - we should make a file in See here: https://stackoverflow.com/a/610860 |
Adding another file we need to keep track of adds more complexity than I expected. Depending on our operating mode, we usually need to compare the current and proposed versions of a file, and act differently if they are the same or not. But now we have to do that process for at least two files (the config monolith and the cron file) and combine the results somehow. I think the file comparison logic needs to be refactored and maybe moved into a separate function. |
I split out the config-diff thing into its own issue. This one is now blocked by #43. |
no longer blocked |
One option is to use an external binary like bgpq4, but my preference is to query my instance of IRRd4 directly. (Edit: this is possible with the
-h
option.) I'd prefer to use the GraphQL interface that just got added - may have to update to the latest (non-release) version to get that functionality though.The text was updated successfully, but these errors were encountered: