Skip to content

Commit 3e03df7

Browse files
wadelnnlguohan
authored andcommitted
Fixed sfputil show eeprom information is empty on SFP ports. (#1145)
Signed-off-by: Wade He <[email protected]>
1 parent aa09bdc commit 3e03df7

File tree

2 files changed

+2
-2
lines changed
  • device/ingrasys

2 files changed

+2
-2
lines changed

device/ingrasys/x86_64-ingrasys_s8900_54xc-r0/plugins/sfputil.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ def port_end(self):
168168

169169
@property
170170
def qsfp_ports(self):
171-
return range(0, self.PORTS_IN_BLOCK + 1)
171+
return range(self.QSFP_PORT_START, self.PORTS_IN_BLOCK + 1)
172172

173173
@property
174174
def port_to_eeprom_mapping(self):

device/ingrasys/x86_64-ingrasys_s8900_64xc-r0/plugins/sfputil.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def port_end(self):
102102

103103
@property
104104
def qsfp_ports(self):
105-
return range(0, self.PORTS_IN_BLOCK + 1)
105+
return range(self.QSFP_PORT_START, self.PORTS_IN_BLOCK + 1)
106106

107107
@property
108108
def port_to_eeprom_mapping(self):

0 commit comments

Comments
 (0)