-
Notifications
You must be signed in to change notification settings - Fork 301
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: Currently we have a bit complicated logic to decide platform product name and fabricLocation by first comparing the network layers and then modelName, which is a bit overdone to me. The reason is we only need to set the fabric location for galaxy line card and all the rest platforms should have the same process. Besides, there're 4 different places define fruid path, and they're using different location. Therefore, I decided to move the define in our "fboss/agent/platforms/wedge/WedgeProductInfo.cpp". Differential Revision: D10209630 fbshipit-source-id: d55f637a8db9dd0fdac55eb8786f033eb49e7b5a
- Loading branch information
1 parent
ca32aa1
commit 346e30c
Showing
4 changed files
with
7 additions
and
10 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
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