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

Cleanup server code a bit #111

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Cleanup server code a bit #111

wants to merge 5 commits into from

Conversation

cjeker
Copy link
Contributor

@cjeker cjeker commented Jan 15, 2024

Some random cleanup while beating my head against the draft-ietf-sidrops-8210bis wall

@@ -53,10 +53,15 @@ var (

ExportPath = flag.String("export.path", "/rpki.json", "Export path")

RTRVersion = flag.Int("protocol", 2, "RTR protocol version. Version 2 is draft-ietf-sidrops-8210bis-10")
RTRVersion = flag.Int("rtr.protocol", 2, "RTR protocol version. Version 2 is draft-ietf-sidrops-8210bis-10")
Copy link
Collaborator

Choose a reason for hiding this comment

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

I'd be a little cautious of changing this, as if people were using that flag, they will find that stayrtr will no longer start post upgrade

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think there is some benefit in doing this but I can split out this part of the change into an extra PR.
Right now the stayrtr arguments are a hodgepodge.

@benjojo
Copy link
Collaborator

benjojo commented Jan 16, 2024 via email

@cjeker
Copy link
Contributor Author

cjeker commented Jan 16, 2024

But that has to be counterbalanced against basically breaking everybody's upgrades and forcing people to change their config

This is something that can be clearly communicated in the release notes. In the mean time I reverted that bit we can cycle back to that later.

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.

None yet

2 participants