-
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
bgpd: fix peer up message for loc-rib not sent #17545
bgpd: fix peer up message for loc-rib not sent #17545
Conversation
4d9fcf5
to
601576f
Compare
601576f
to
829d9a9
Compare
hi @pguibert6WIND, please let me know if i'm wrong |
ci:rerun |
thanks to confirm this is an issue. |
829d9a9
to
5c1e11c
Compare
added test to ensure everything is correct. |
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
ci:rerun one more time |
looks good thanks |
5c1e11c
to
1c5fb9e
Compare
At startup, there is no peer up message for loc-rib instance peer. Instead, a global peer up message with address 0.0.0.0 is sent. Such message is wrong, violates the RFC and should be dropped by a strict collector. Actually, the peer type message sent is wrong, and should be set to LOC-RIB peer type. Fix this by changing the peer type of peer up message to either loc-rib or global instance peer type. Fixes: 035304c ("bgpd: bmp loc-rib peer up/down for vrfs") Signed-off-by: Philippe Guibert <[email protected]>
Add a test at startup to ensure that peer up message for loc-rib is correctly set. Signed-off-by: Philippe Guibert <[email protected]>
1c5fb9e
to
f921a8d
Compare
ci:rerun unrelated |
At startup, there is no peer up message for loc-rib instance peer. Instead, a global peer up message with address 0.0.0.0 is sent.
Such message is wrong, violates the RFC and should be dropped by a strict collector. Actually, the peer type message sent is wrong, and should be set to LOC-RIB peer type.
Fix this by changing the peer type of peer up message to either loc-rib or global instance peer type.
Fixes: 035304c ("bgpd: bmp loc-rib peer up/down for vrfs")