Skip to content
Merged
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
2 changes: 1 addition & 1 deletion tests/common/platform/transceiver_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def check_transceiver_details(dut, interfaces):
@param interfaces: List of interfaces that need to be checked.
"""
logging.info("Check detailed transceiver information of each connected port")
expected_fields = ["type", "hardwarerev", "serialnum", "manufacturename", "modelname"]
expected_fields = ["type", "hardware_rev", "serial", "manufacturer", "model"]
for intf in interfaces:
port_xcvr_info = dut.command('redis-cli -n 6 hgetall "TRANSCEIVER_INFO|%s"' % intf)
for field in expected_fields:
Expand Down
2 changes: 1 addition & 1 deletion tests/platform_tests/check_transceiver_status.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def check_transceiver_details(dut, interfaces):
@param interfaces: List of interfaces that need to be checked.
"""
logging.info("Check detailed transceiver information of each connected port")
expected_fields = ["type", "hardwarerev", "serialnum", "manufacturename", "modelname"]
expected_fields = ["type", "hardware_rev", "serial", "manufacturer", "model"]
for intf in interfaces:
port_xcvr_info = dut.command('redis-cli -n 6 hgetall "TRANSCEIVER_INFO|%s"' % intf)
for field in expected_fields:
Expand Down