Skip to content

Commit

Permalink
Removed the lane speed key construction failure log completely as thi…
Browse files Browse the repository at this point in the history
…s key type is not mandatory for all vendors
  • Loading branch information
tshalvi committed Oct 21, 2024
1 parent 1599f42 commit 5341d3e
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_notice("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 5341d3e

Please sign in to comment.