New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add XSight platform and device configs #12160
base: master
Are you sure you want to change the base?
Add XSight platform and device configs #12160
Conversation
This pull request introduces 330 alerts when merging ee8d6f93086d9a79dc85e3f06c4962f3a9e7c7fd into 8af369a - view on LGTM.com new alerts:
|
/azpw run Azure.sonic-buildimage |
/AzurePipelines run Azure.sonic-buildimage |
Azure Pipelines successfully started running 1 pipeline(s). |
Hi @lguohan |
ee8d6f9
to
79b9505
Compare
This pull request introduces 331 alerts when merging 715df114c2e4551686f9446d23a3e95637a424ea into 9251d4b - view on LGTM.com new alerts:
|
Signed-off-by: Roman Zhurakivskyy <rzhurak@larch-networks.com>
715df11
to
22f9e7c
Compare
This pull request introduces 332 alerts when merging 22f9e7c into e1440f0 - view on LGTM.com new alerts:
|
can you check the build failure, and also fix the lgtm errors? |
Hi @lguohan - thanks for your response. Regarding the Alerts from lgtm - all of the alerts found by this tool are in Accton drivers platform code so we can not change it as it was provided to us by Accton team. |
/azpw run Azure.sonic-buildimage |
/AzurePipelines run Azure.sonic-buildimage |
Azure Pipelines successfully started running 1 pipeline(s). |
/azpw run Azure.sonic-buildimage |
/AzurePipelines run Azure.sonic-buildimage |
Azure Pipelines successfully started running 1 pipeline(s). |
/azpw run Azure.sonic-buildimage |
/AzurePipelines run Azure.sonic-buildimage |
Azure Pipelines successfully started running 1 pipeline(s). |
hi @lguohan I've re-trigger this PR one more time today just to see its current status.
Really appreciate any help from your side to help us merging this PR. Thanks, |
/azpw run Azure.sonic-buildimage |
/AzurePipelines run Azure.sonic-buildimage |
Azure Pipelines successfully started running 1 pipeline(s). |
There 2 power supplies slot at the left/right side of the back. | ||
Once if a PSU is not plugged, the status of it is shown failed. | ||
|
||
There are 48 SFP+ and 6 QSFP modules are equipped. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file seems to not be relevant to the platform
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are right. we will remove these generic readme files.
@@ -0,0 +1,21 @@ | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It probably would make more sense splitting this PR to a platform one and then add the specific device. It's a pretty large PR, hard for someone to actually review all.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are actually 2 new platforms in this PR: 9632xx and 9632xq. (accton platforms)
Each platform has several SKUs supported.
The device is a from a new vendor called xsight, So I assume that if we want to reduce the size of the PR, we can separate it to a the new device (xsight) and a single platform (e.g 9632xq) and then add the 2nd platform. (9632xx)
It will still create a pretty big first PR.
Do you have any better suggestions?
Signed-off-by: Roman Zhurakivskyy rzhurak@larch-networks.com
Why I did it
Adding a new device platform support in sonic-buildimage for Xsight Labs devices. (bases on Accton platforms)
How I did it
Added all Accton relevant platform drivers and code.
Uploading relevant code of Xsight based platform to other repos like sonic-platform-common, sairedis and sonic-swss.
Updating makefiles for Xsight based platforms and uploading pre-compiled relevant Debian files to Xsight Sonic repo.
How to verify it
Run SONiC image compiled for Xsight platform on Xsight switch
Which release branch to backport (provide reason below if selected)
Description for the changelog
In order to build a SONiC image for Xsight platform use the following commands:
NOJESSIE=1 NOSTRETCH=1 make PLATFORM=xsight
time NOJESSIE=1 NOSTRETCH=1 make all SONIC_BUILD_JOBS=12 INCLUDE_NAT=n INCLUDE_MACSEC=n INCLUDE_MUX=n