forked from sonic-net/sonic-buildimage
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[show][config] fix show mux status health field; add support for hwmo…
…de functionality to toggle mux, check mux direction for Y cable (sonic-net#1467) This PR fixes the show mux status "health" field. There is also support for new commands for muxcable show muxcable hwmode muxdirection sudo config muxcable hwmode state active all which can check the muxdirection and toggle the mux direction directly through eeprom What I did Fixed the show mux status health field Also added these new commands vdahiya@BN9-0101-0301-01UT0:~$ show muxcable hwmode muxdirection Port Direction ----------- ----------- Ethernet0 active Ethernet4 active Ethernet8 active Ethernet12 active Ethernet16 active vdahiya@BN9-0101-0301-01UT0:~$ sudo config muxcable hwmode state active all Muxcables at all ports will be changed to active state. Continue? [y/N]: y Success in toggling port Ethernet0 to active Success in toggling port Ethernet4 to active Success in toggling port Ethernet8 to active Success in toggling port Ethernet12 to active Success in toggling port Ethernet16 to active Signed-off-by: vaibhav-dahiya <vdahiya@microsoft.com>
- Loading branch information
Showing
5 changed files
with
716 additions
and
77 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
Oops, something went wrong.