From 0e28a855177b89360150f3151fec234087c5f719 Mon Sep 17 00:00:00 2001 From: mssonicbld <79238446+mssonicbld@users.noreply.github.com> Date: Wed, 6 Aug 2025 08:13:14 +0800 Subject: [PATCH] Add abbreviation identifier for Custom Amphenol backplane cartridge (#589) #### Description We need to add XCVR_IDENTIFIER_ABBRV code for Custom Amphenol Backplane Cartridge https://github.com/sonic-net/sonic-platform-common/blob/4af4791f602e1684ea2aa940b73a50d9c8910f86/sonic_platform_base/sonic_xcvr/codes/public/sff8024.py#L45-L76 ``` >>> print("Module type is {}".format(platform_chassis.get_sfp(port_num).get_xcvr_api().get_module_type_abbreviation())) Module type is Unknown >>> ``` #### Motivation and Context #### How Has This Been Tested? ``` >>> print("Module type is {}".format(platform_chassis.get_sfp(port_num).get_xcvr_api().get_module_type_abbreviation())) Module type is BP >>> ``` #### Additional Information (Optional) MSFT ADO - 34111221 --- sonic_platform_base/sonic_xcvr/codes/public/sff8024.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sonic_platform_base/sonic_xcvr/codes/public/sff8024.py b/sonic_platform_base/sonic_xcvr/codes/public/sff8024.py index c93b1e4..9f45218 100644 --- a/sonic_platform_base/sonic_xcvr/codes/public/sff8024.py +++ b/sonic_platform_base/sonic_xcvr/codes/public/sff8024.py @@ -73,7 +73,8 @@ class Sff8024(XcvrCodes): 27: 'DSFP', 28: 'Link-x4', 29: 'Link-x8', - 30: 'QSFP+C' + 30: 'QSFP+C', + 126: 'BP', # Backplane Cartridge } CONNECTORS = {