Skip to content

Commit

Permalink
Add Vendor key to XCVRD log
Browse files Browse the repository at this point in the history
  • Loading branch information
AnoopKamath authored Aug 16, 2023
1 parent 14a5761 commit bbee152
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sonic-xcvrd/xcvrd/xcvrd.py
Original file line number Diff line number Diff line change
Expand Up @@ -1627,7 +1627,8 @@ def task_worker(self):
optics_si_dict = optics_si_parser.fetch_optics_si_setting(pport, lane_speed, sfp)

if optics_si_dict:
self.log_notice("{}: Optics SI found. Apply".format(lport))
self.log_notice("{}: Apply Optics SI found for Vendor: {} PN: {} lane speed: {}G".
format(lport, api.get_manufacturer(), api.get_model(), lane_speed))
if not api.stage_custom_si_settings(host_lanes_mask, optics_si_dict):
self.log_notice("{}: unable to stage custom SI settings ".format(lport))
self.force_cmis_reinit(lport, retries + 1)
Expand Down

0 comments on commit bbee152

Please sign in to comment.