Skip to content

[action] [PR:18091] [Snappi] - Test Changes to support Infra changes for dynamic port selection from the setup replacing variables.py file#18858

Merged
mssonicbld merged 1 commit intosonic-net:202505from
mssonicbld:cherry/202505/18091
Jun 9, 2025
Merged

[action] [PR:18091] [Snappi] - Test Changes to support Infra changes for dynamic port selection from the setup replacing variables.py file#18858
mssonicbld merged 1 commit intosonic-net:202505from
mssonicbld:cherry/202505/18091

Conversation

@mssonicbld
Copy link
Copy Markdown
Collaborator

Description of PR

Summary:
Fixes # (issue)
#13769

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • New Test case
  • Skipped for non-supported platforms
  • Test case improvement

Back port request

  • 202012
  • 202205
  • 202305
  • 202311
  • 202405
  • 202411

Approach

What is the motivation for this PR?

To support infra changes in snappi tests introduced by this Pull Request - #15069

How did you do it?

We don't need the setup_ports_and_dut now and we can simply call the snappi_testbed_config in the test itself and iterate through the available ports.

How did you verify/test it?

Ran in Microsoft Lab on T2 Arista Chassis.

Any platform specific information?

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

Documentation

…ection from the setup replacing variables.py file (sonic-net#18091)

Description of PR
Summary:
Fixes # (issue)
sonic-net#13769

Type of change
 Bug fix
 Testbed and Framework(new/improvement)
 New Test case
 Skipped for non-supported platforms
 Test case improvement

Approach
What is the motivation for this PR?
To support infra changes in snappi tests introduced by this Pull Request - sonic-net#15069

How did you do it?
We don't need the setup_ports_and_dut now and we can simply call the snappi_testbed_config in the test itself and iterate through the available ports.

How did you verify/test it?
Ran in Microsoft Lab on T2 Arista Chassis.

Co-authored-by: yatishkoul <yatishkoul@gmail.com>
@mssonicbld
Copy link
Copy Markdown
Collaborator Author

Original PR: #18091

@mssonicbld
Copy link
Copy Markdown
Collaborator Author

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@yejianquan
Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld mssonicbld merged commit 1c2c5aa into sonic-net:202505 Jun 9, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants