-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[show] fix show muxcable metrics <port> for sorted output (#1731)
This PR fixes the display for show muxcable metrics by sorting the output based on the time of the event. This is required for better display. For example admin@str2-7050cx3-acs-12:~$ show mux metrics Ethernet0 PORT EVENT TIME --------- --------------------------- --------------------------- Ethernet0 xcvrd_switch_standby_start 2021-Jul-21 02:03:28.784027 Ethernet0 orch_switch_standby_end 2021-Jul-21 02:03:28.788150 Ethernet0 linkmgrd_switch_standby_end 2021-Jul-21 02:03:28.790288 Signed-off-by: vaibhav-dahiya <vdahiya@microsoft.com>
- Loading branch information
Showing
2 changed files
with
9 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters