Skip to content

Commit 6ab9d67

Browse files
andywongaristaabdosi
authored andcommitted
Enhance sfputil for CMIS QSFP (#1949)
1 parent 76cc67b commit 6ab9d67

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sfputil/main.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,8 @@ def convert_sfp_info_to_output_string(sfp_info_dict):
261261
pass
262262
elif key == 'specification_compliance':
263263
if sfp_info_dict['type'] == "QSFP-DD Double Density 8X Pluggable Transceiver" or \
264-
sfp_info_dict['type'] == "OSFP 8X Pluggable Transceiver":
264+
sfp_info_dict['type'] == "OSFP 8X Pluggable Transceiver" or \
265+
sfp_info_dict['type'] == "QSFP+ or later with CMIS":
265266
output += '{}{}: {}\n'.format(indent, QSFP_DATA_MAP[key], sfp_info_dict[key])
266267
else:
267268
output += '{}{}:\n'.format(indent, QSFP_DATA_MAP['specification_compliance'])

0 commit comments

Comments
 (0)