-
Notifications
You must be signed in to change notification settings - Fork 19
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
Conversation
cmd/stayrtr/stayrtr.go
Outdated
@@ -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") |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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.
But that has to be counterbalanced against basically breaking everybody's
upgrades and forcing people to change their config
…On Tue, Jan 16, 2024, 10:13 Claudio Jeker ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In cmd/stayrtr/stayrtr.go
<#111 (comment)>:
> @@ -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")
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.
—
Reply to this email directly, view it on GitHub
<#111 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AALPK4WB47DALFMVGDWU3H3YOZHEDAVCNFSM6AAAAABB3KSYEGVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMYTQMRSHE3TSMBTGU>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
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. |
@cjeker can you rebase? |
done |
…ogether. Also support the "enforce rtr version" flag (the code for that is already there).
once more, I also moved the EnableNODELAY flag to where it belongs |
Some random cleanup while beating my head against the draft-ietf-sidrops-8210bis wall