Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions sfputil/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@
'encoding': 'Encoding',
'connector': 'Connector',
'application_advertisement': 'Application Advertisement',
'cdb_supported': 'CDB Supported',
'hardware_rev': 'Hardware Revision',
'media_interface_code': 'Media Interface Code',
'host_electrical_interface': 'Host Electrical Interface',
Expand Down
2 changes: 2 additions & 0 deletions tests/sfputil_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,7 @@ def test_format_dict_value_to_string(self):
'active_apsel_hostlane8': 1,
'media_interface_technology': 'C-band tunable laser',
'cmis_rev': '5.0',
'cdb_supported': True,
'supported_max_tx_power': 0,
'supported_min_tx_power': -20,
'supported_max_laser_freq': 196100,
Expand All @@ -233,6 +234,7 @@ def test_format_dict_value_to_string(self):
" Active App Selection Host Lane 8: 1\n"
" Application Advertisement: 400G CR8 - Host Assign (0x1) - Copper cable - Media Assign (0x2)\n"
" 200GBASE-CR4 (Clause 136) - Host Assign (Unknown) - Unknown - Media Assign (Unknown)\n"
" CDB Supported: True\n"
" CMIS Revision: 5.0\n"
" Connector: LC\n"
" Encoding: N/A\n"
Expand Down
Loading