Skip to content

[ssw] adding tooling to config one single DPU#23360

Open
zjswhhh wants to merge 1 commit intosonic-net:masterfrom
zjswhhh:config_single_dpu
Open

[ssw] adding tooling to config one single DPU#23360
zjswhhh wants to merge 1 commit intosonic-net:masterfrom
zjswhhh:config_single_dpu

Conversation

@zjswhhh
Copy link
Copy Markdown
Contributor

@zjswhhh zjswhhh commented Mar 26, 2026

Description of PR

Summary:
Fixes # (issue)

Sometimes load dpu config failed for DPUs in bad status. Adding a playbook to configure single DPU to avoid running the whole deploy-mg for smartswitch testbeds.

sign-off: Jing Zhang zhangjing@microsoft.com

Type of change

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

Back port request

  • 202205
  • 202305
  • 202311
  • 202405
  • 202411
  • 202505
  • 202511

Approach

What is the motivation for this PR?

Minimize effort to fix smartswitch testbeds.

How did you do it?

Add a playbook to fix single DPU.

How did you verify/test it?

changed: [xxxxxxxxxxxxxxxxxxxxxxx] => {
    "changed": true,
    "failure_count": 0,
    "invocation": {
        "module_args": {
            "host_passwords": [
                "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER"
            ],
            "host_username": "admin",
            "hostname": "xxxxxxxxxxxxxxxxxxxxxxx",
            "hwsku": "Mellanox-SN4280-O28",
            "npu_index": 0,
            "target_dpu_index": 0
        }
    },
    "msg": "Successfully configured all 1 DPUs",
    "success_count": 1,
    "total_dpus": 4
}

PLAY RECAP ************************************************************************************************************************************************************************
xxxxxxxxxxxxxxxxxxxxxxx : ok=2    changed=2    unreachable=0    failed=0    skipped=0    rescued=0    ignored=0   

Any platform specific information?

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

Documentation

Signed-off-by: Jing Zhang <zhangjing@microsoft.com>
@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run

@yijingyan2
Copy link
Copy Markdown

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines will not run the associated pipelines, because the pull request was updated after the run command was issued. Review the pull request again and issue a new run command.

@yijingyan2
Copy link
Copy Markdown

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

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.

3 participants