@@ -46,7 +46,7 @@ class QosBase:
4646 Common APIs
4747 """
4848 SUPPORTED_T0_TOPOS = [
49- "t0" , "t0-56" , "t0-56-po2vlan" , "t0-64" , "t0-116" , "t0-118" , "t0-35" , "dualtor-56" , "dualtor-64" ,
49+ "t0" , "t0-56" , "t0-56-po2vlan" , "t0-64" , "t0-116" , "t0-118" , "t0-35" , "t0-d18u8s4" , " dualtor-56" , "dualtor-64" ,
5050 "dualtor-120" , "dualtor" , "dualtor-64-breakout" , "dualtor-aa" , "dualtor-aa-56" , "dualtor-aa-64-breakout" ,
5151 "t0-120" , "t0-80" , "t0-backend" , "t0-56-o8v48" , "t0-8-lag" , "t0-standalone-32" , "t0-standalone-64" ,
5252 "t0-standalone-128" , "t0-standalone-256" , "t0-28" , "t0-isolated-d16u16s1" , "t0-isolated-d16u16s2" ,
@@ -62,6 +62,7 @@ class QosBase:
6262 "td3" , "th3" , "j2c+" , "jr2" , "th5" ]
6363
6464 BREAKOUT_SKUS = ['Arista-7050-QX-32S' ]
65+ LOW_SPEED_PORT_SKUS = ['Arista-7050CX3-32S-C28S4' , 'Arista-7050CX3-32C-C28S4' ]
6566
6667 TARGET_QUEUE_WRED = 3
6768 TARGET_LOSSY_QUEUE_SCHED = 0
@@ -1032,11 +1033,12 @@ def dutConfig(
10321033 vlan_info = config_facts [src_dut .hostname ].get ('VLAN' , {})
10331034 port_speeds = self .__buildPortSpeeds (config_facts [src_dut .hostname ])
10341035 low_speed_portIds = []
1035- if src_dut .facts ['hwsku' ] in self .BREAKOUT_SKUS and 'backend' not in topo :
1036+ if src_dut .facts ['hwsku' ] in self .BREAKOUT_SKUS + self . LOW_SPEED_PORT_SKUS and 'backend' not in topo :
10361037 for speed , portlist in port_speeds .items ():
10371038 if int (speed ) < 40000 :
10381039 for portname in portlist :
1039- low_speed_portIds .append (src_mgFacts ["minigraph_ptf_indices" ][portname ])
1040+ if portname in src_mgFacts ["minigraph_ptf_indices" ]:
1041+ low_speed_portIds .append (src_mgFacts ["minigraph_ptf_indices" ][portname ])
10401042
10411043 testPortIds [src_dut_index ][src_asic_index ] = set (src_mgFacts ["minigraph_ptf_indices" ][port ]
10421044 for port in src_mgFacts ["minigraph_ports" ].keys ())
0 commit comments