Skip to content

[action] [PR:3959] [Mellanox][Smartswitch]Added dpu status output #4014

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
merged 1 commit into from
Aug 5, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions scripts/generate_dump
Original file line number Diff line number Diff line change
Expand Up @@ -1343,6 +1343,7 @@ collect_mellanox() {
local platform=$(python3 -c "from sonic_py_common import device_info; print(device_info.get_platform())")
local platform_folder="/usr/share/sonic/device/${platform}"
local hwsku=$(python3 -c "from sonic_py_common import device_info; print(device_info.get_hwsku())")
local is_smartswitch=$(python3 -c "from sonic_py_common import device_info; print(device_info.is_smartswitch())")
local sku_folder="/usr/share/sonic/device/${platform}/${hwsku}"
local cmis_host_mgmt_files=(
"/tmp/nv-syncd-shared/sai.profile"
Expand Down Expand Up @@ -1404,6 +1405,9 @@ collect_mellanox() {
fi

save_cmd "get_component_versions.py" "component_versions"
if [[ $is_smartswitch == "True" ]]; then
save_cmd "dpuctl dpu-status" "dpu_status"
fi

# Save CMIS-host-management related files
local cmis_host_mgmt_path="cmis-host-mgmt"
Expand Down
Loading