Skip to content

[SAI Test] Add lag test#1549

Merged
richardyu-ms merged 4 commits intoopencomputeproject:masterfrom
allen-xf:lag_test
Aug 1, 2022
Merged

[SAI Test] Add lag test#1549
richardyu-ms merged 4 commits intoopencomputeproject:masterfrom
allen-xf:lag_test

Conversation

@allen-xf
Copy link
Copy Markdown
Contributor

Test LAG cases from group1 to goup4 according to lag test plan

verify the PortChannel Load balancing based on different attributes(source IP, destination IP, source port, destination port, and protocol).
verify traffic drop on the disabled lag member after disabling ingress or egress on a lag member
verify traffic to drop/appear on the lag member after removing/adding the lag members
verify the ingress ports should not be as a Hash Factor in Lag load balance. When forwarding the packet from different ingress ports, if only the ingress port changed, then the load balance should not happen among lag members.
Test:
Test all lag cases at DUT
Skip the LoadbalanceOnProtocalTest and DisableIngressTest

ms-junyi added 3 commits July 28, 2022 16:40
Signed-off-by: ms-junyi <[email protected]>
Signed-off-by: ms-junyi <[email protected]>
Signed-off-by: ms-junyi <[email protected]>
@richardyu-ms richardyu-ms merged commit 1219de1 into opencomputeproject:master Aug 1, 2022
chrispsommers pushed a commit to chrispsommers/SAI that referenced this pull request Aug 4, 2022
* add lag cases

Signed-off-by: ms-junyi <[email protected]>

* put locol cofig from router_configer to lag case

Signed-off-by: ms-junyi <[email protected]>

* fix bug

Signed-off-by: ms-junyi <[email protected]>

* edit pydoc

Signed-off-by: ms-junyi <[email protected]>
Signed-off-by: Chris Sommers <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants