-
Notifications
You must be signed in to change notification settings - Fork 176
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
Platform APIs for SmartSwitch #454
Conversation
chassis_base.py" to support SmartSwitch
LGTM. I have two small requests, but besides that, all is good. |
sonic_platform_base/chassis_base.py
Outdated
def get_module_dpu_data_port(self, index): | ||
""" | ||
Retrieves the DPU data port NPU-DPU association represented for | ||
the DPU index. Platforms that need to overwrite the hwsku.json |
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.
Are we going to use platform.json or hwsku.json?
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.
We are going to use platform.json
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.
LGTM, Please close on Prince comments before merging. Thanks!
…onic-net#454) * [warmboot] Retain TRANSCEIVER_INFO/STATUS tables on deinit Signed-off-by: Stepan Blyschak <[email protected]> * add UT Signed-off-by: Stepan Blyschak <[email protected]> * Update IT Signed-off-by: Stepan Blyschak <[email protected]> --------- Signed-off-by: Stepan Blyschak <[email protected]>
* Smart Switch reboot high level design This is initial draft * Update HLD with modified APIs and images * Minor update to test plan * Minor changes based on discussion with the community * Address review comments * Minor correction to pci rescan information * Update reboot mechanism of the DPU and pcie daemon changes * Minor changes * Minor changes * Made a minor change to dup_id based on get_dpu_id() update in sonic-net/sonic-platform-common#454 * Add some enhancements * Minor change to new APIs * Address review comments * Address some review comments
Added new APIs and enhanced the required APIs in "module_base.py and chassis_base.py" to support SmartSwitch
Description
The ChassisBase class and ModuleBase class need to support new SmartSwitch platforms.
Motivation and Context
Some new API and some API enhancements are required to support SmartSwitch. This has been captured in the PMON HLD document. These changes are implementation based on those requirements.
How Has This Been Tested?
The corresponding platform APIs were implemented. The new CLI changes and chassisd changes invoke these APIs. UT was performed and demo was done.
Additional Information (Optional)