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.
[y_cable] add support for enable/disable autoswitch feature on Y cable (
sonic-net#176) This PR adds functions definition with details for enabling/disabling Y cable auto-switch feature Description Added functions for enabling/disabling auto-switch on Y cable def set_switching_mode(physical_port, mode) def get_switching_mode(physical_port) Motivation and Context We need to have this feature within host cli so that a user can enable/disable the autoswitch on Y cable How Has This Been Tested? opened a python shell and executed API's for correctness Signed-off-by: vaibhav-dahiya <vdahiya@microsoft.com>
- Loading branch information
Showing
1 changed file
with
91 additions
and
0 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