Open sdszhang opened 1 month ago
@rraghav-cisco can you look into this? Seems we need the udp flow change here too.
The udp part is already handled in common/snappi_tests/traffic_generation.py, which is used by this script. I suspect the problem here might be the fact that the backplane port is 200G compared to the front-panel port which is 400G. So the traffic needs to be halved for this test.
I have had success in this script with the following parameters in snappi_tests/multidut/pfc/files/multidut_helper.py:
dut_port_config = []
PAUSE_FLOW_NAME = 'Pause Storm'
TEST_FLOW_NAME = 'Test Flow'
TEST_FLOW_AGGR_RATE_PERCENT = 22
BG_FLOW_NAME = 'Background Flow'
BG_FLOW_AGGR_RATE_PERCENT = 22
data_flow_pkt_size = 1024
DATA_FLOW_DURATION_SEC = 15
data_flow_delay_sec = 1
SNAPPI_POLL_DELAY_SEC = 2
PAUSE_FLOW_DUR_BASE_SEC = data_flow_delay_sec + DATA_FLOW_DURATION_SEC
TOLERANCE_THRESHOLD = 0.05
CONTINUOUS_MODE = -5
ANSIBLE_POLL_DELAY_SEC = 4
As we can see, the rate_percent(22) are both half of the actual code(44). I am trying to figure out how to change the above based on the platform type.
Issue Description
When running snappi tests on cross LC scenario, packet drops are observed.
Failed test cases: test_global_pause
Results you see
FAILED
Results you expected to see
PASS
Is it platform specific
generic
Relevant log output
Output of
show version
No response
Attach files (if any)
No response