Skip to content

Commit

Permalink
[xcvrd] Update key names in 'get_media_settings_value()' (#63)
Browse files Browse the repository at this point in the history
Update key names which were missed in #62

Fixes sonic-net/sonic-buildimage#4886
  • Loading branch information
jleveque authored and abdosi committed Jul 8, 2020
1 parent 5bf0b31 commit afd16ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sonic-xcvrd/scripts/xcvrd
Original file line number Diff line number Diff line change
Expand Up @@ -523,8 +523,8 @@ def get_media_settings_value(physical_port, key):
def get_media_settings_key(physical_port, transceiver_dict):
sup_compliance_str = '10/40G Ethernet Compliance Code'
sup_len_str = 'Length Cable Assembly(m)'
vendor_name_str = transceiver_dict[physical_port]['manufacturename']
vendor_pn_str = transceiver_dict[physical_port]['modelname']
vendor_name_str = transceiver_dict[physical_port]['manufacturer']
vendor_pn_str = transceiver_dict[physical_port]['model']
vendor_key = string.upper(vendor_name_str) + '-' + vendor_pn_str

media_len = ''
Expand Down

0 comments on commit afd16ce

Please sign in to comment.