[SAI Test] Add lag test#1549
Merged
richardyu-ms merged 4 commits intoopencomputeproject:masterfrom Aug 1, 2022
Merged
Conversation
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
approved these changes
Jul 29, 2022
Signed-off-by: ms-junyi <[email protected]>
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]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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