-
Notifications
You must be signed in to change notification settings - Fork 839
[testbed] ptf data plane connection for multi-servers testbed #15881
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Conversation
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
8 tasks
/azp run |
Pull request contains merge conflicts. |
w1nda
commented
Dec 18, 2024
r12f
reviewed
Dec 27, 2024
/azp run |
Pull request contains merge conflicts. |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
…dapter for refer all ports
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
Blueve
approved these changes
Feb 25, 2025
mssonicbld
added a commit
to mssonicbld/sonic-mgmt.msft
that referenced
this pull request
Feb 28, 2025
… servers <!-- Please make sure you've read and understood our contributing guidelines; https://github.com/sonic-net/SONiC/blob/gh-pages/CONTRIBUTING.md Please provide following information to help code review process a bit easier: --> ### Description of PR <!-- - Please include a summary of the change and which issue is fixed. - Please also include relevant motivation and context. Where should reviewer start? background context? - List any dependencies that are required for this change. --> Summary: Fixes # (issue) To leverage the servers instead of a single server for deploying a single testbed, we proposal this design for deploying testbeds with multiple servers. Related PRs: | PR title | State | Context | | ------ | ------ | -------| | [[testbed-cli] Code change on add-topo and deploy-minigraph for deploying testbed with peers on multiple servers](sonic-net/sonic-mgmt#15643) |  |  | | [[Pending #15643][testbed] ptf data plane connection for multi-servers testbed](sonic-net/sonic-mgmt#15881) |  |  | | [[sonic-mgmt-docker-image] Support ptf dataplane packet poll with multiple ptf nn agents connection](sonic-net/sonic-buildimage#21070) |  |  | ### Type of change <!-- - Fill x for your type of change. - e.g. - [x] Bug fix --> - [ ] 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? When deploying a testbed with a vast number of virtual ceos neighbors, we will create ceos containers on same server, however, the server doesn't have infinite resources such as memory to deploy that. To leverage the servers instead of a single server, we proposal this design for deploying testbeds with multiple servers. #### How did you do it? Design for deploying testbed with multiple servers. #### How did you verify/test it? #### Any platform specific information? #### Supported testbed topology if it's a new test case? ### Documentation <!-- (If it's a new feature, new test case) Did you update documentation/Wiki relevant to your implementation? Link to the wiki page? -->
Cherry-pick PR to msft-202412: Azure/sonic-mgmt.msft#126 |
mssonicbld
added a commit
to Azure/sonic-mgmt.msft
that referenced
this pull request
Feb 28, 2025
… servers (#125) <!-- Please make sure you've read and understood our contributing guidelines; https://github.com/sonic-net/SONiC/blob/gh-pages/CONTRIBUTING.md Please provide following information to help code review process a bit easier: --> ### Description of PR <!-- - Please include a summary of the change and which issue is fixed. - Please also include relevant motivation and context. Where should reviewer start? background context? - List any dependencies that are required for this change. --> Summary: Fixes # (issue) To leverage the servers instead of a single server for deploying a single testbed, we proposal this design for deploying testbeds with multiple servers. Related PRs: | PR title | State | Context | | ------ | ------ | -------| | [[testbed-cli] Code change on add-topo and deploy-minigraph for deploying testbed with peers on multiple servers](sonic-net/sonic-mgmt#15643) |  |  | | [[Pending #15643][testbed] ptf data plane connection for multi-servers testbed](sonic-net/sonic-mgmt#15881) |  |  | | [[sonic-mgmt-docker-image] Support ptf dataplane packet poll with multiple ptf nn agents connection](sonic-net/sonic-buildimage#21070) |  |  | ### Type of change <!-- - Fill x for your type of change. - e.g. - [x] Bug fix --> - [ ] 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? When deploying a testbed with a vast number of virtual ceos neighbors, we will create ceos containers on same server, however, the server doesn't have infinite resources such as memory to deploy that. To leverage the servers instead of a single server, we proposal this design for deploying testbeds with multiple servers. #### How did you do it? Design for deploying testbed with multiple servers. #### How did you verify/test it? #### Any platform specific information? #### Supported testbed topology if it's a new test case? ### Documentation <!-- (If it's a new feature, new test case) Did you update documentation/Wiki relevant to your implementation? Link to the wiki page? -->
nnelluri-cisco
pushed a commit
to nnelluri-cisco/sonic-mgmt
that referenced
this pull request
Mar 15, 2025
…net#15881) What is the motivation for this PR? We need to make sure ptf data plane connectivity during tests running. How did you do it? Start ptf_nn_agent on every ptf container and connect them with ptf dataplane. How did you verify/test it? Run test case with ptf dataplane on single server testbed and multi-servers testbed.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
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.
Description of PR
Summary:
Fixes # (issue)
For testbed with multi-servers (HLD: #15395
We need to make sure ptf data plane connectivity.
In this PR, we make sure ptf data plane works when running tests.
Type of change
Back port request
Approach
What is the motivation for this PR?
We need to make sure ptf data plane connectivity during tests running.
How did you do it?
Start ptf_nn_agent on every ptf container and connect them with ptf dataplane.
How did you verify/test it?
Run test case with ptf dataplane on single server testbed and multi-servers testbed.
Any platform specific information?
Supported testbed topology if it's a new test case?
Documentation