Skip to content

Commit

Permalink
Reduce log level for lane speed key construction failure (#549)
Browse files Browse the repository at this point in the history
* Reduce log level for lane speed key construction failure

* Removed the lane speed key construction failure log completely as this key type is not mandatory for all vendors
  • Loading branch information
tshalvi authored and mssonicbld committed Dec 10, 2024
1 parent e71de57 commit 0127d8b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions sonic-xcvrd/xcvrd/xcvrd_utilities/media_settings_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,6 @@ def get_lane_speed_key(physical_port, port_speed, lane_count):
host_electrical_interface_id = appl_adv_dict[app_id].get('host_electrical_interface_id')
if host_electrical_interface_id:
lane_speed_key = LANE_SPEED_KEY_PREFIX + host_electrical_interface_id.split()[0]
if not lane_speed_key:
helper_logger.log_error("No host_electrical_interface_id found for CMIS module on physical port {}"
", failed to construct lane_speed_key".format(physical_port))
else:
# Directly calculate lane speed and use it as key, this is especially useful for
# non-CMIS transceivers which typically have no host_electrical_interface_id
Expand Down

0 comments on commit 0127d8b

Please sign in to comment.