-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
SONiC Image Installation Verification #933
base: master
Are you sure you want to change the base?
Conversation
``` | ||
Need to mention that, it may prompt false negative message. Assume we have an broadcom switch which has already installed mellanox built image as no ASIC check before. Its `asic_type` will be translated to mellanox. Then it will wrongly report asic doesn't match if we try to install the correct broadcom built image. | ||
|
||
In ONiE, that info is not accessible. So we cannot do the ASIC check in ONiE. |
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.
The capitalization is not as official. Please use ONIE
or onie
. ref: https://www.opencompute.org/wiki/Networking/ONIE
- The mapping fits both ONiE and SONiC installer. During installation, we can derive current platform's expected ASIC type based on the platform string, then compare that with the to-be-installed image's ASIC. | ||
|
||
Cons: | ||
- It is a static mapping, which means that the mapping need to be kept in all repos and all ASIC build. |
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 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.
I mean we have public repo and internal repo. The platforms we support are somehow different.
8498931
to
8837dc2
Compare
No description provided.