Skip to content
Merged
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
4 changes: 4 additions & 0 deletions tests/platform_tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,8 @@ def port_list_with_flat_memory(duthosts):
def passive_cable_ports(duthosts):
passive_cable_ports = {}
for dut in duthosts:
if dut.is_supervisor_node():
continue
passive_cable_ports.update({dut.hostname: get_passive_cable_port_list(dut)})
logging.info(f"passive_cable_ports: {passive_cable_ports}")
return passive_cable_ports
Expand All @@ -224,6 +226,8 @@ def passive_cable_ports(duthosts):
def cmis_cable_ports_and_ver(duthosts):
cmis_cable_ports_and_ver = {}
for dut in duthosts:
if dut.is_supervisor_node():
continue
cmis_cable_ports_and_ver.update({dut.hostname: get_cmis_cable_ports_and_ver(dut)})
logging.info(f"cmis_cable_ports_and_ver: {cmis_cable_ports_and_ver}")
return cmis_cable_ports_and_ver
Loading