Skip to content

Commit

Permalink
Excluded the DPU interafces Ethernet-BP0 to Ethernet-BP7 from the min…
Browse files Browse the repository at this point in the history
…igraph_facts (#16465)
  • Loading branch information
nnelluri-cisco authored Jan 15, 2025
1 parent 09fca00 commit 21dbd80
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tests/qos/qos_sai_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -930,6 +930,16 @@ def dutConfig(
dst_dut = get_src_dst_asic_and_duts['dst_dut']
src_mgFacts = src_dut.get_extended_minigraph_facts(tbinfo)
topo = tbinfo["topo"]["name"]
src_mgFacts['minigraph_ptf_indices'] = {
key: value
for key, value in src_mgFacts['minigraph_ptf_indices'].items()
if not key.startswith("Ethernet-BP")
}
src_mgFacts['minigraph_ports'] = {
key: value
for key, value in src_mgFacts['minigraph_ports'].items()
if not key.startswith("Ethernet-BP")
}

# LAG ports in T1 TOPO need to be removed in Mellanox devices
if topo in self.SUPPORTED_T0_TOPOS or (topo in self.SUPPORTED_PTF_TOPOS and isMellanoxDevice(src_dut)):
Expand Down

0 comments on commit 21dbd80

Please sign in to comment.