mirror of
https://github.com/Telecominfraproject/ols-nos.git
synced 2025-11-19 07:45:16 +00:00
[devices]: Dell S6100 API 2.0 fix (#16363)
Why I did it sonic-mgmt test failure is seen for update_firmware component API Microsoft ADO: 25208748 How I did it Edited API 2.0 to fix this issue. How to verify it Run sonic-mgmt test after the fix and verify it passes.
This commit is contained in:
@@ -321,3 +321,16 @@ class Component(ComponentBase):
|
|||||||
A boolean, True if install was successful, False if not
|
A boolean, True if install was successful, False if not
|
||||||
"""
|
"""
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
def update_firmware(self,image_path):
|
||||||
|
"""
|
||||||
|
Updates firmware to the componenent
|
||||||
|
|
||||||
|
Args:
|
||||||
|
image_path: A string, path to firmware image
|
||||||
|
|
||||||
|
Returns:
|
||||||
|
A boolean, True if install was successful, False if not
|
||||||
|
|
||||||
|
"""
|
||||||
|
return False
|
||||||
|
|||||||
Reference in New Issue
Block a user