From d2fe62322ef219a177b5c54597e1a396f8d1eeee Mon Sep 17 00:00:00 2001 From: Aravind Mani <53524901+aravindmani-1@users.noreply.github.com> Date: Tue, 19 Sep 2023 22:54:05 +0530 Subject: [PATCH] [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. --- .../s6100/sonic_platform/component.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/platform/broadcom/sonic-platform-modules-dell/s6100/sonic_platform/component.py b/platform/broadcom/sonic-platform-modules-dell/s6100/sonic_platform/component.py index 0c605871b..5b2b27286 100644 --- a/platform/broadcom/sonic-platform-modules-dell/s6100/sonic_platform/component.py +++ b/platform/broadcom/sonic-platform-modules-dell/s6100/sonic_platform/component.py @@ -321,3 +321,16 @@ def install_firmware(self, image_path): A boolean, True if install was successful, False if not """ 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