Skip to content

Commit 9b8bfa1

Browse files
authored
[xcvrd] Update key names in 'get_media_settings_value()' (sonic-net#63)
Update key names which were missed in sonic-net/sonic-platform-daemons#62 Fixes sonic-net#4886
1 parent abe115e commit 9b8bfa1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sonic-xcvrd/scripts/xcvrd

+2-2
Original file line numberDiff line numberDiff line change
@@ -523,8 +523,8 @@ def get_media_settings_value(physical_port, key):
523523
def get_media_settings_key(physical_port, transceiver_dict):
524524
sup_compliance_str = '10/40G Ethernet Compliance Code'
525525
sup_len_str = 'Length Cable Assembly(m)'
526-
vendor_name_str = transceiver_dict[physical_port]['manufacturename']
527-
vendor_pn_str = transceiver_dict[physical_port]['modelname']
526+
vendor_name_str = transceiver_dict[physical_port]['manufacturer']
527+
vendor_pn_str = transceiver_dict[physical_port]['model']
528528
vendor_key = string.upper(vendor_name_str) + '-' + vendor_pn_str
529529

530530
media_len = ''

0 commit comments

Comments
 (0)