-
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 tshoot #286
Ldpd tshoot #286
Conversation
ldpd/ldp_vty_exec.c
Outdated
log_label(rt->local_label)); | ||
json_object_string_add(json_lib_entry, "remoteLabel", | ||
log_label(rt->remote_label)); | ||
json_object_string_add(json_lib_entry, "inUse", |
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.
Should this be a integer?
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.
Yeah, that would be better I think. Will update in a few minutes.
Continous Integration Result: FAILEDSee below for issues. This is a comment from an EXPERIMENTAL automated CI system. Get source and apply patch from patchwork: SuccessfulBuilding Stage: SuccessfulBasic Tests: FailedIPv4 ldp protocol on Ubuntu 16.04: Successful Topology tests on Ubuntu 16.04: FailedTopology tests on Ubuntu 16.04: Unknown Log |
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Now the "show mpls ldp discovery" command will display all LDP adjancencies sorted by address family, neighbor ID and then type (link or targeted). Example: vtysh# show mpls ldp discovery AF ID Type Source Holdtime ipv4 3.3.3.3 Link rt2-eth1 15 ipv4 3.3.3.3 Link rt2-eth2 15 ipv4 4.4.4.4 Link rt2-eth1 15 ipv6 1.1.1.1 Link rt2-eth0 15 ipv6 3.3.3.3 Link rt2-eth1 15 ipv6 3.3.3.3 Link rt2-eth2 15 ipv6 4.4.4.4 Link rt2-eth1 15 Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
|
Continous Integration Result: FAILEDSee below for issues. This is a comment from an EXPERIMENTAL automated CI system. Get source and apply patch from patchwork: SuccessfulBuilding Stage: SuccessfulBasic Tests: FailedStatic analyzer (clang): Successful Topology tests on Ubuntu 16.04: FailedTopology tests on Ubuntu 16.04: Unknown Log |
I believe there is an error in the "show mpls ldp neighbor" output. Using the Topotests, for R1, the output was like this before:
Now with this change, I get:
--> no neighbor shows up. This looks wrong to me.. |
Now by default ldpd will display a "terse" output in the show commands, and if you want more detailed information you have to use the detail option. Example:
With that said, are you sure you waited long enough for the neighborships to come up? |
Yes, code change required for waiting to get LDP converged. "show mpls ldp neighbor" changed and now falsely triggered a converged in the script, even when it didn't. |
Topotests updated - triggering new testrun of this PR |
Continous Integration Result: SUCCESSFULCongratulations, this patch passed basic tests Tested-by: NetDEF / OpenSourceRouting.org CI System CI System Testrun URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-390/ This is a comment from an EXPERIMENTAL automated CI system. |
This patchset adds a few more "show" commands to ldpd and extend some existing commands to provide more detailed information. This should facilitate the process of troubleshooting ldpd in production networks. When things are not working, the more information you can get the better.