diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-02-08 09:11:47 -0500 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-03-27 16:22:22 -0400 |
| commit | 50872b0804870e2f2ffaf5db8d3052af4003dc89 (patch) | |
| tree | ff7550be8e611f4cffd09d3f82412f11c1d48e19 /zebra/debug.h | |
| parent | 699dae230db72cdb75c9e2c0237d602a48dbf61f (diff) | |
zebra: Add detailed debugging command for NHT tracking
Add a detailed debugging command for NHT tracking and add
the detailed output to the log about why we make some decisions
that we are. I tried to model this like the rib processing
detailed debugs that we added a few months back.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'zebra/debug.h')
| -rw-r--r-- | zebra/debug.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/zebra/debug.h b/zebra/debug.h index 944ad6d68b..176226f7ae 100644 --- a/zebra/debug.h +++ b/zebra/debug.h @@ -44,7 +44,9 @@ extern "C" { #define ZEBRA_DEBUG_RIB_DETAILED 0x02 #define ZEBRA_DEBUG_FPM 0x01 -#define ZEBRA_DEBUG_NHT 0x01 + +#define ZEBRA_DEBUG_NHT 0x01 +#define ZEBRA_DEBUG_NHT_DETAILED 0x02 #define ZEBRA_DEBUG_MPLS 0x01 @@ -76,7 +78,10 @@ extern "C" { #define IS_ZEBRA_DEBUG_RIB_DETAILED (zebra_debug_rib & ZEBRA_DEBUG_RIB_DETAILED) #define IS_ZEBRA_DEBUG_FPM (zebra_debug_fpm & ZEBRA_DEBUG_FPM) + #define IS_ZEBRA_DEBUG_NHT (zebra_debug_nht & ZEBRA_DEBUG_NHT) +#define IS_ZEBRA_DEBUG_NHT_DETAILED (zebra_debug_nht & ZEBRA_DEBUG_NHT_DETAILED) + #define IS_ZEBRA_DEBUG_MPLS (zebra_debug_mpls & ZEBRA_DEBUG_MPLS) #define IS_ZEBRA_DEBUG_VXLAN (zebra_debug_vxlan & ZEBRA_DEBUG_VXLAN) #define IS_ZEBRA_DEBUG_PW (zebra_debug_pw & ZEBRA_DEBUG_PW) |
