forked from sonic-net/sonic-buildimage
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[xcvrd] Change the y_cable presence logic to use "mux_cable" table as…
… identifier from Config DB (#176) * [xcvrd] Change the y_cable presence logic to use "mux_cable" table as identfier from Config DB This PR changes the logic to use "mux_cable" table as identifier, and only those ports which have this table inside config DB and key pair of "state:auto/active" will be processed as having a Y-Cable port. The earlier logic was using the PORT table tag with a mux_cable:true key-value pair. Description change the logic to initiate Y-Cable logic Motivation and Context Required for changing the logic, so that this can be integrated with images which don't support "mux_cable" tag inside config DB Signed-off-by: vaibhav-dahiya <vdahiya@microsoft.com>
- Loading branch information
Showing
1 changed file
with
14 additions
and
8 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