sonic-net / sonic-mgmt

Configuration management examples for SONiC
Other
195 stars 715 forks source link

Chassis : Add randomization to DUT/ASIC selection while picking source/destination ports for QoS/PFC testing #11009

Open vmittal-msft opened 10 months ago

vmittal-msft commented 10 months ago

Description Currently function - select_src_dst_dut_and_asic selects dut=0/1 and asic 0/1 for different combinations of multi asis/dut testing. We should enhance this logic to randomly select dut/asic from available line cards so to cover all different scenarios.

image

Steps to reproduce the issue: 1. 2. 3.

Describe the results you received:

Describe the results you expected:

Additional information you deem important:

**Output of `show version`:**

```
(paste your output here)
```

**Attach debug file `sudo generate_dump`:**

```
(paste your output here)
```
arlakshm commented 1 week ago

This PR Fixes the randomization of Dut https://github.com/sonic-net/sonic-mgmt/pull/14746