Skip to content

Commit 659d078

Browse files
DellEMC: Z9332f SFP enhancements (sonic-net#7457)
#### Why I did it 400G media EEPROM and DOM information are not populated properly in DellEMC Z9332f platform. #### How I did it Handled QSFP_DD, QSFP28/QSFP+, SFP+ accordingly based on media type detected.
1 parent a2d33a2 commit 659d078

File tree

2 files changed

+452
-141
lines changed
  • platform/broadcom/sonic-platform-modules-dell/z9332f/sonic_platform

2 files changed

+452
-141
lines changed

platform/broadcom/sonic-platform-modules-dell/z9332f/sonic_platform/chassis.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ def __init__(self):
121121
eeprom_base = "/sys/class/i2c-adapter/i2c-{0}/{0}-0050/eeprom"
122122
for index in range(self.PORT_START, self.PORTS_IN_BLOCK):
123123
eeprom_path = eeprom_base.format(self._port_to_i2c_mapping[index])
124-
port_type = 'SFP' if index in _sfp_port else 'QSFP'
124+
port_type = 'SFP' if index in _sfp_port else 'QSFP_DD'
125125
sfp_node = Sfp(index, port_type, eeprom_path)
126126
self._sfp_list.append(sfp_node)
127127

0 commit comments

Comments
 (0)