Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions sonic_platform_base/sonic_xcvr/api/xcvr_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -448,3 +448,18 @@ def get_power_override_support(self):
A Boolean, True if power override is supported, False otherwise
"""
raise NotImplementedError

def get_module_fw_info(self):
"""
Retrieves the firmware information of this xcvr.

Returns:
A dict containing the following keys/values:
================================================================================
keys |Value Format |Information
---------------------------|---------------|----------------------------
status |bool |status of operation
info |string |human readable representation of firmware information
result |tuple |firmware information
"""
raise NotImplementedError