From 6404bfd0bff5d581b74d27c3a1a2516402e6bbfb Mon Sep 17 00:00:00 2001 From: Joe LeVeque Date: Thu, 2 Jul 2020 17:02:24 +0000 Subject: [PATCH] [xcvrd] Update key names in 'get_media_settings_value()' --- sonic-xcvrd/scripts/xcvrd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sonic-xcvrd/scripts/xcvrd b/sonic-xcvrd/scripts/xcvrd index 794ee2ff5..703bbda4d 100644 --- a/sonic-xcvrd/scripts/xcvrd +++ b/sonic-xcvrd/scripts/xcvrd @@ -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 = ''