From f57a3e64d025db3a1fc8be73a5c2e8b65b9cf71a 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 0c605871b5..5b2b272861 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 @@ class Component(ComponentBase): 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