Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce log level for lane speed key construction failure #9

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
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
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