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
6 changes: 6 additions & 0 deletions tests/qos/qos_sai_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -879,6 +879,12 @@ def dutConfig(
if len(dutPortIps[src_dut_index][src_asic_index]) != 0:
testPortIps.update(dutPortIps)

if 'backend' in topo:
# since backend T0 utilize dot1q encap pkts, testPortIds need to be repopulated with the
# associated sub-interfaces stored in testPortIps
testPortIds[src_dut_index][src_asic_index] = sorted(
list(testPortIps[src_dut_index][src_asic_index].keys()))

elif topo in self.SUPPORTED_T1_TOPOS:
# T1 is supported only for 'single_asic' or 'single_dut_multi_asic'.
# So use src_dut as the dut
Expand Down