From 41ec92223a7dfc14eb8cb0b84c73ad09943213eb Mon Sep 17 00:00:00 2001 From: vivek Date: Fri, 20 Nov 2015 08:48:32 -0800 Subject: Zebra: Cleanup RIB debugs Some of the changes include: - ensuring IPv6 addresses are printed correctly - say 'updating' or 'deleting' etc. only when that is actually done - say 'queuing' or 'dequeuing' only when that is actually done - print useful info for 'detailed' debug - that now subsumes 'rib queue' - delete various useless logs - VRF-specific - print VRF id in RIB debugs prior to prefix (e.g., 4:37.1.1.0/28) Ticket: CM-8110 Reviewed By: CCR-3765 Testing Done: Manual testing (2.5-br) --- zebra/interface.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'zebra/interface.c') diff --git a/zebra/interface.c b/zebra/interface.c index a3d297d327..8d081c0597 100644 --- a/zebra/interface.c +++ b/zebra/interface.c @@ -639,7 +639,7 @@ if_up (struct interface *ifp) } } - if (IS_ZEBRA_DEBUG_RIB) + if (IS_ZEBRA_DEBUG_RIB_DETAILED) zlog_debug ("%s: calling rib_update on interface %s up", __func__, ifp->name); @@ -677,7 +677,7 @@ if_down (struct interface *ifp) } /* Examine all static routes which direct to the interface. */ - if (IS_ZEBRA_DEBUG_RIB) + if (IS_ZEBRA_DEBUG_RIB_DETAILED) zlog_debug ("%s: calling rib_update_static on interface %s down", __func__, ifp->name); -- cgit v1.2.3