File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -1343,6 +1343,7 @@ collect_mellanox() {
1343
1343
local platform=$( python3 -c " from sonic_py_common import device_info; print(device_info.get_platform())" )
1344
1344
local platform_folder=" /usr/share/sonic/device/${platform} "
1345
1345
local hwsku=$( python3 -c " from sonic_py_common import device_info; print(device_info.get_hwsku())" )
1346
+ local is_smartswitch=$( python3 -c " from sonic_py_common import device_info; print(device_info.is_smartswitch())" )
1346
1347
local sku_folder=" /usr/share/sonic/device/${platform} /${hwsku} "
1347
1348
local cmis_host_mgmt_files=(
1348
1349
" /tmp/nv-syncd-shared/sai.profile"
@@ -1404,6 +1405,9 @@ collect_mellanox() {
1404
1405
fi
1405
1406
1406
1407
save_cmd " get_component_versions.py" " component_versions"
1408
+ if [[ $is_smartswitch == " True" ]]; then
1409
+ save_cmd " dpuctl dpu-status" " dpu_status"
1410
+ fi
1407
1411
1408
1412
# Save CMIS-host-management related files
1409
1413
local cmis_host_mgmt_path=" cmis-host-mgmt"
You can’t perform that action at this time.
0 commit comments