Skip to content

Commit

Permalink
[component]: Update firmware management API.
Browse files Browse the repository at this point in the history
Signed-off-by: Nazarii Hnydyn <nazariig@mellanox.com>
  • Loading branch information
nazariig committed Apr 24, 2020
1 parent 2632a59 commit 777901f
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions sonic_platform_base/component_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def get_available_firmware_version(self, image_path):
"""
raise NotImplementedError

def get_update_notification(self, image_path):
def get_firmware_update_notification(self, image_path):
"""
Retrieves a notification on what should be done in order to complete
the component firmware update
Expand Down Expand Up @@ -92,16 +92,3 @@ def update_firmware(self, image_path):
RuntimeError: update failed
"""
raise NotImplementedError

def is_delayed_firmware_update_supported(self, image_path):
"""
Retrieves a value indicating whether immediate actions are required
to complete the component firmware update (e.g., reboot, power cycle, etc.)
Args:
image_path: A string, path to firmware image
Returns:
A boolean, True if delayed firmware update supported, False if not
"""
raise NotImplementedError

0 comments on commit 777901f

Please sign in to comment.