-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
ldpd: Option for disabled LDP hello message during TCP #18417
base: master
Are you sure you want to change the base?
Conversation
2537340
to
8c3d2ad
Compare
some background https://vyos.dev/T7226 |
cf40f7e
to
945eff4
Compare
please add a topotest that exercises this new functionality. Additionally this command needs to be documented in the ldpd documentation |
Added option "disable-establish-hello" that disableds sending additional LDP hello multicast messages during TCP session establishment. This option enables per interface: "(config-ldp-af-if)". Signed-off-by: Andrii Melnychenko <[email protected]>
Signed-off-by: Andrii Melnychenko <[email protected]>
I'm a bit confused, I think ... from the external link:
But then this pr seems to make it an optional change? Is this a problem with the way we implement the spec or is this just an optimization ... ?? |
Well, sending an additional LDP hello is a valid optimization to speed up the TCP session establishment. The problem appears when there are a lot of ldpd services in a local network. So, this patch adds an option to NOT send the "additional" LDP hello so admins may configure their network if they see the network may be overflowing with multicast traffic, which brings more harm then good. |
Added please review and provide comments. |
…tion Test runs ldpd on 3 routers with and without option. Iptables is used to count LDP hello messages. Signed-off-by: Andrii Melnychenko <[email protected]>
48b7f8b
to
90084d2
Compare
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.
looks good
I've checked on my local docker ubuntu22 image:
Not sure what the correct solution is. |
Currently the LDPD services on TCP session establishment sends additional UDP multicast hello message. Overall, it should speed up label acknowledge.
On the big LAN with a lot of LDPD services(100+) that may reconnect it would lead to a HUGE traffic in the network, when we would lost any performance. So, this PR propose an option to disable "additional hello" during the TCP establishment.
Added option "disable-establish-hello" that disables sending additional LDP hello multicast messages during TCP session establishment. This option enables per interface: "(config-ldp-af-if)"
Usage example: