Skip to content

New TC for PC Test on higher lag ids#14842

Merged
rlhui merged 2 commits intosonic-net:masterfrom
vikshaw-Nokia:po_update_higher_lagids
Dec 4, 2024
Merged

New TC for PC Test on higher lag ids#14842
rlhui merged 2 commits intosonic-net:masterfrom
vikshaw-Nokia:po_update_higher_lagids

Conversation

@vikshaw-Nokia
Copy link
Contributor

Description of PR

Summary:
The Test Cases focuses on the below PR Changes of lagid allocation to portchannel and new SYSTEM_LAG_IDS_FREE_LIST

[lag_id] Add lagid to free_list when LC absent for 30 minutes by mlok-nokia · Pull Request #542 · sonic-net/sonic-platform-daemons (github.com)
[Chassis][LAG_ID] Address the same lagid been used in two different LCs issue by mlok-nokia · Pull Request #3303 · sonic-net/sonic-swss (github.com)
[database-chassis][lagid] Initialize SYSTEM_LAG_IDS_FREE_LIST in CHASSIS_APP_DB by mlok-nokia · Pull Request #20369 · sonic-net/sonic-buildimage (github.com)

This PR is dependent on the above mentioned PR.

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • Test case(new/improvement)

Back port request

  • 202012
  • 202205
  • 202305
  • 202311
  • 202405

Approach

What is the motivation for this PR?

Verification of the new feature of LAG ID allocation to PortChannel and new list of SYSTEM_LAG_IDS_FREE_LIST

How did you do it?

The test case verifies traffic flow between all port channels in a full mesh topology. It begins with a system reboot to allocate the lower series of LAG IDs and validate the SYSTEM_LAG_IDS_FREE_LIST. Next, the LAG IDs are incremented through temporary port channel additions and deletions. A configuration reload is then performed to allocate higher LAG IDs to the port channels, followed by a final validation of mesh traffic.

How did you verify/test it?

Verified on T2 VOQ Chassis

Any platform specific information?

Applicable for T2 Chassis

Supported testbed topology if it's a new test case?

T2 Chassis

Documentation

[lag_id] Add lagid to free_list when LC absent for 30 minutes by mlok-nokia · Pull Request #542 · sonic-net/sonic-platform-daemons (github.com)
[Chassis][LAG_ID] Address the same lagid been used in two different LCs issue by mlok-nokia · Pull Request #3303 · sonic-net/sonic-swss (github.com)
[database-chassis][lagid] Initialize SYSTEM_LAG_IDS_FREE_LIST in CHASSIS_APP_DB by mlok-nokia · Pull Request #20369 · sonic-net/sonic-buildimage (github.com)

@mlok-nokia
Copy link
Contributor

@arlakshm @judyjoseph This mgmt PR is for the new LagId allocation testing. It tests the middle range LagIds and upper range lagIds

Copy link
Contributor

@arlakshm arlakshm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

as comments

@vikshaw-Nokia
Copy link
Contributor Author

vikshaw-Nokia commented Oct 8, 2024

@arlakshm
Hello,
Greetings of the day.
Have Incorporated the comments as applicable and added a better test description
Kindly review the above inline comments.

Regards,
Vikash

@vikshaw-Nokia vikshaw-Nokia force-pushed the po_update_higher_lagids branch from a063e79 to 5ab57a8 Compare October 9, 2024 13:42
@arlakshm
Copy link
Contributor

Waiting for the code PRs to be merged

@rlhui rlhui added the Chassis Test Gap New or existing test cases that need to be added for chassis platforms label Nov 27, 2024
@rlhui rlhui merged commit 62131b7 into sonic-net:master Dec 4, 2024
@bingwang-ms
Copy link
Collaborator

Approved the new test case cherry-pick as it's only for T2

@mssonicbld
Copy link
Collaborator

@vikshaw-Nokia PR conflicts with 202405 branch

@vikshaw-Nokia
Copy link
Contributor Author

Hello @arlakshm
Please help with the merge for 202405 #16142

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

6 participants