pim-msdp: cleanup debug commands

And fixup display spacing. No functional change.

Signed-off-by: Anuradha Karuppiah <anuradhak@cumulusnetworks.com>
This commit is contained in:
anuradhak 2016-11-22 11:26:45 -08:00 committed by Donald Sharp
parent 15ad0c71e0
commit 886d1e80f6

View File

@ -4837,6 +4837,8 @@ DEFUN (debug_pim,
PIM_DO_DEBUG_PIM_EVENTS;
PIM_DO_DEBUG_PIM_PACKETS;
PIM_DO_DEBUG_PIM_TRACE;
PIM_DO_DEBUG_MSDP_EVENTS;
PIM_DO_DEBUG_MSDP_PACKETS;
return CMD_SUCCESS;
}
@ -4850,6 +4852,8 @@ DEFUN (no_debug_pim,
PIM_DONT_DEBUG_PIM_EVENTS;
PIM_DONT_DEBUG_PIM_PACKETS;
PIM_DONT_DEBUG_PIM_TRACE;
PIM_DONT_DEBUG_MSDP_EVENTS;
PIM_DONT_DEBUG_MSDP_PACKETS;
PIM_DONT_DEBUG_PIM_PACKETDUMP_SEND;
PIM_DONT_DEBUG_PIM_PACKETDUMP_RECV;
@ -5654,7 +5658,7 @@ ip_msdp_show_peers(struct vty *vty, u_char uj)
json_object_int_add(json_row, "saCount", mp->sa_cnt);
json_object_object_add(json, peer_str, json_row);
} else {
vty_out(vty, "%-15s %15s %11s %8s %5d%s",
vty_out(vty, "%-15s %15s %11s %8s %6d%s",
peer_str, local_str, state_str,
timebuf, mp->sa_cnt, VTY_NEWLINE);
}