mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-05 06:34:44 +00:00
pimd: Add 'debug pim trace detail' command
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
9487552c1c
commit
56c238c9e9
@ -6503,6 +6503,17 @@ DEFUN (debug_pim_trace,
|
||||
return CMD_SUCCESS;
|
||||
}
|
||||
|
||||
DEFUN (debug_pim_trace_detail,
|
||||
debug_pim_trace_detail_cmd,
|
||||
"debug pim trace detail",
|
||||
DEBUG_STR
|
||||
DEBUG_PIM_STR
|
||||
DEBUG_PIM_TRACE_STR)
|
||||
{
|
||||
PIM_DO_DEBUG_PIM_TRACE_DETAIL;
|
||||
return CMD_SUCCESS;
|
||||
}
|
||||
|
||||
DEFUN (no_debug_pim_trace,
|
||||
no_debug_pim_trace_cmd,
|
||||
"no debug pim trace",
|
||||
@ -6515,6 +6526,18 @@ DEFUN (no_debug_pim_trace,
|
||||
return CMD_SUCCESS;
|
||||
}
|
||||
|
||||
DEFUN (no_debug_pim_trace_detail,
|
||||
no_debug_pim_trace_detail_cmd,
|
||||
"no debug pim trace",
|
||||
NO_STR
|
||||
DEBUG_STR
|
||||
DEBUG_PIM_STR
|
||||
DEBUG_PIM_TRACE_STR)
|
||||
{
|
||||
PIM_DONT_DEBUG_PIM_TRACE_DETAIL;
|
||||
return CMD_SUCCESS;
|
||||
}
|
||||
|
||||
DEFUN (debug_ssmpingd,
|
||||
debug_ssmpingd_cmd,
|
||||
"debug ssmpingd",
|
||||
@ -7817,6 +7840,8 @@ void pim_cmd_init(void)
|
||||
install_element(ENABLE_NODE, &no_debug_pim_packetdump_recv_cmd);
|
||||
install_element(ENABLE_NODE, &debug_pim_trace_cmd);
|
||||
install_element(ENABLE_NODE, &no_debug_pim_trace_cmd);
|
||||
install_element(ENABLE_NODE, &debug_pim_trace_detail_cmd);
|
||||
install_element(ENABLE_NODE, &no_debug_pim_trace_detail_cmd);
|
||||
install_element(ENABLE_NODE, &debug_ssmpingd_cmd);
|
||||
install_element(ENABLE_NODE, &no_debug_ssmpingd_cmd);
|
||||
install_element(ENABLE_NODE, &debug_pim_zebra_cmd);
|
||||
@ -7853,6 +7878,8 @@ void pim_cmd_init(void)
|
||||
install_element(CONFIG_NODE, &no_debug_pim_packets_cmd);
|
||||
install_element(CONFIG_NODE, &debug_pim_trace_cmd);
|
||||
install_element(CONFIG_NODE, &no_debug_pim_trace_cmd);
|
||||
install_element(CONFIG_NODE, &debug_pim_trace_detail_cmd);
|
||||
install_element(CONFIG_NODE, &no_debug_pim_trace_detail_cmd);
|
||||
install_element(CONFIG_NODE, &debug_ssmpingd_cmd);
|
||||
install_element(CONFIG_NODE, &no_debug_ssmpingd_cmd);
|
||||
install_element(CONFIG_NODE, &debug_pim_zebra_cmd);
|
||||
|
@ -191,6 +191,7 @@ extern int32_t qpim_register_probe_time;
|
||||
#define PIM_DO_DEBUG_PIM_PACKETDUMP_SEND (qpim_debugs |= PIM_MASK_PIM_PACKETDUMP_SEND)
|
||||
#define PIM_DO_DEBUG_PIM_PACKETDUMP_RECV (qpim_debugs |= PIM_MASK_PIM_PACKETDUMP_RECV)
|
||||
#define PIM_DO_DEBUG_PIM_TRACE (qpim_debugs |= PIM_MASK_PIM_TRACE)
|
||||
#define PIM_DO_DEBUG_PIM_TRACE_DETAIL (qpim_debugs |= PIM_MASK_PIM_TRACE_DETAIL)
|
||||
#define PIM_DO_DEBUG_IGMP_EVENTS (qpim_debugs |= PIM_MASK_IGMP_EVENTS)
|
||||
#define PIM_DO_DEBUG_IGMP_PACKETS (qpim_debugs |= PIM_MASK_IGMP_PACKETS)
|
||||
#define PIM_DO_DEBUG_IGMP_TRACE (qpim_debugs |= PIM_MASK_IGMP_TRACE)
|
||||
@ -212,6 +213,7 @@ extern int32_t qpim_register_probe_time;
|
||||
#define PIM_DONT_DEBUG_PIM_PACKETDUMP_SEND (qpim_debugs &= ~PIM_MASK_PIM_PACKETDUMP_SEND)
|
||||
#define PIM_DONT_DEBUG_PIM_PACKETDUMP_RECV (qpim_debugs &= ~PIM_MASK_PIM_PACKETDUMP_RECV)
|
||||
#define PIM_DONT_DEBUG_PIM_TRACE (qpim_debugs &= ~PIM_MASK_PIM_TRACE)
|
||||
#define PIM_DONT_DEBUG_PIM_TRACE_DETAIL (qpim_debugs &= ~PIM_MASK_PIM_TRACE_DETAIL)
|
||||
#define PIM_DONT_DEBUG_IGMP_EVENTS (qpim_debugs &= ~PIM_MASK_IGMP_EVENTS)
|
||||
#define PIM_DONT_DEBUG_IGMP_PACKETS (qpim_debugs &= ~PIM_MASK_IGMP_PACKETS)
|
||||
#define PIM_DONT_DEBUG_IGMP_TRACE (qpim_debugs &= ~PIM_MASK_IGMP_TRACE)
|
||||
|
Loading…
Reference in New Issue
Block a user