-
Notifications
You must be signed in to change notification settings - Fork 7
Remove "unknown" status and add "failed" and "unreachable" statuses #2630
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
Conversation
|
I believe there is no way to know if a link is unreachable due to a firewall issue specifically. However, what I did is infer this by checking whether the TCP connection was ever established before the timeout. The BGP plugin tracks two flags: |
85d7113 to
7c02d22
Compare
aad9a4c to
f3f1fc8
Compare
f3f1fc8 to
0602a4b
Compare
Resolves: #2622 Changed status name to short version
0602a4b to
715cfe9
Compare
Jared-dz
left a comment
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.
This is an improvement to the current state. I am leaving comment without approval to allow time for second reviewer prior to merge.
…2630) Resolves: #2622 ## Summary of Changes * Removed unknown status * Renamed status labels to be more descriptive: * pending → Pending BGP Session * initializing → Initializing BGP Session * down → BGP Session Down * up → BGP Session Up * Added BGP Session Failed (TCP connected but BGP handshake timed out after 5 seconds) * Added Network Unreachable (TCP connection failed, likely firewall issue) ## Testing Verification * Fixed existing tests * Added new tests
…2630) Resolves: #2622 ## Summary of Changes * Removed unknown status * Renamed status labels to be more descriptive: * pending → Pending BGP Session * initializing → Initializing BGP Session * down → BGP Session Down * up → BGP Session Up * Added BGP Session Failed (TCP connected but BGP handshake timed out after 5 seconds) * Added Network Unreachable (TCP connection failed, likely firewall issue) ## Testing Verification * Fixed existing tests * Added new tests
…2630) Resolves: #2622 ## Summary of Changes * Removed unknown status * Renamed status labels to be more descriptive: * pending → Pending BGP Session * initializing → Initializing BGP Session * down → BGP Session Down * up → BGP Session Up * Added BGP Session Failed (TCP connected but BGP handshake timed out after 5 seconds) * Added Network Unreachable (TCP connection failed, likely firewall issue) ## Testing Verification * Fixed existing tests * Added new tests
…2630) Resolves: #2622 ## Summary of Changes * Removed unknown status * Renamed status labels to be more descriptive: * pending → Pending BGP Session * initializing → Initializing BGP Session * down → BGP Session Down * up → BGP Session Up * Added BGP Session Failed (TCP connected but BGP handshake timed out after 5 seconds) * Added Network Unreachable (TCP connection failed, likely firewall issue) ## Testing Verification * Fixed existing tests * Added new tests
Resolves: #2622
Summary of Changes
Testing Verification