-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[Mellanox][Smartswitch] Platform API for Smartswtich #20944
base: master
Are you sure you want to change the base?
Conversation
Returns: | ||
An integer, the number of modules available on this chassis | ||
""" | ||
return DeviceDataManager.get_dpu_count() |
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 seems to be returning only DPUs?
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.
Yes, only the DPUs are represented as modules, the switch itself is not a module
Dependent on for mellanox build to pass #20943 |
Should be merged after #20943
Why I did it
Introduction of
SmartSwitchChassis
,DpuModule
classes for APIs required for Smartswitch PMONmodule.py
- Introduction ofDpuModule
for representing each DPU as a moduleplatform.py
- InitializeSmartSwitchChassis
based on number of DPUs on platformchassis.py
- Introduction ofSmartSwitchChassis
for representing each the smartswitch as a modular chassis with DPUS presentWork item tracking
How I did it
How to verify it
Which release branch to backport (provide reason below if selected)
Tested branch (Please provide the tested image version)
Description for the changelog
Link to config_db schema for YANG module changes
A picture of a cute animal (not mandatory but encouraged)