[sonic_fw]: Add firmware management api base#30
[sonic_fw]: Add firmware management api base#30mudsut4ke wants to merge 1 commit intosonic-net:masterfrom
Conversation
| "module_name": "CPLD", | ||
| "fw_version": { | ||
| "CPLD1" : "1.0.0", | ||
| "CPLD2" : "1.1.0" |
There was a problem hiding this comment.
in this case, i feel we should have CPLD1, CPLD2 as module name, each module will have only one version.
There was a problem hiding this comment.
In that case,the list of supported module will be ["BIOS", "CPLD1", "CPLD2"] instead of ["BIOS", "CPLD"] and get_fw_version function should return only version string
Is that good?
There was a problem hiding this comment.
can you update the comments?
|
@mudsut4ke: Is there any reason to keep this as a separate |
|
@jleveque , Maybe a reason that firmware install tool is installed in sonic platform and cannot be used on pmon docker |
|
@mudsut4ke: Can you elaborate? We would like to consolidate all platform-specific abstraction into the new If we were to install the |
|
@jleveque , In my case the CPLD upgrade tool installed in base image (sonic-net/sonic-buildimage#2446) if you install |
|
@jleveque , Any comment? |
|
I think it would be best to add this functionality to the ChassisBase and ModuleBase classes in the new platform API, and we can install the package in the base image as well as the pmon container. |
|
@mudsut4ke , any update on this? |
|
@mudsut4ke: I think adding the firmware management functions to |
|
Move to #34 |
… 202412 (sonic-net#30) ```<br>* f0d6c81 - (HEAD -> 202412) Merge branch '202411' of https://github.com/sonic-net/sonic-platform-common into 202412 (2025-02-19) [Sonic Automation] * c735073 - (origin/202411) [202411][cmis] Fix cmis.get_error_description speed for passive module (sonic-net#538) (2025-02-12) [Aryeh Feigin] * b7e75d8 - Add 800G innolight PNs (sonic-net#540) (2025-02-07) [mssonicbld]<br>```
Add base class for firmware management utillity (sonic-net/sonic-buildimage#2824)
Signed-off-by: Wirut Getbamrung [email protected]