[devices]: fix SFP initialization in the Chassis for mlnx-platform-api (#3012)
This commit is contained in:
parent
1616f482e7
commit
22c0f4d877
@ -71,7 +71,7 @@ class Chassis(ChassisBase):
|
|||||||
sfp_module = SFP(index, 'QSFP')
|
sfp_module = SFP(index, 'QSFP')
|
||||||
else:
|
else:
|
||||||
sfp_module = SFP(index, 'SFP')
|
sfp_module = SFP(index, 'SFP')
|
||||||
self._psu_list.append(sfp_module)
|
self._sfp_list.append(sfp_module)
|
||||||
|
|
||||||
def _extract_num_of_fans_and_fan_drawers(self):
|
def _extract_num_of_fans_and_fan_drawers(self):
|
||||||
num_of_fan = 0
|
num_of_fan = 0
|
||||||
|
Loading…
Reference in New Issue
Block a user