]> git.proxmox.com Git - mirror_frr.git/commit - ldpd/ldp_vty_exec.c
ldpd and Zebra: Expand existing debug commands.
authorlynne <lynne@voltanet.io>
Thu, 7 May 2020 16:31:40 +0000 (12:31 -0400)
committerlynne <lynne@voltanet.io>
Mon, 11 May 2020 20:22:52 +0000 (16:22 -0400)
commit6bbdd9e97997aa5f6ed2468e2d21b8163c9ecb51
tree81b6e9bb7ee5d8575e123defe77204ba905811b7
parenta9b763e381188e6761fc09d0bbddea94595387c3
ldpd and Zebra:  Expand existing debug commands.

L2VPN PW are very hard to determine why they do not come up.  The following
fixes expand the existing show commands in ldp and zebra to display a
reason why the PW is in the DOWN state and also display the labeled nexthop
route selected to reach the PW peer.  By adding this information it will
provide the user some guidance on how to debug the PW issue.  Also fixed an
assert if labels were changed for a PW that is between directly connected
peers.

Signed-off-by: Lynne Morrison <lynne@voltanet.io>
ldpd/l2vpn.c
ldpd/lde.c
ldpd/ldp_vty_exec.c
ldpd/ldpd.h
ldpd/logmsg.c
zebra/zebra_pw.c