We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 389ae8a commit 73300dfCopy full SHA for 73300df
scripts/reboot_smartswitch_helper
@@ -151,9 +151,10 @@ function gnmi_reboot_dpu()
151
if [ $? -ne 0 ]; then
152
log_message "ERROR: Failed to send gnoi command to halt services on ${DPU_NAME}"
153
log_message "ERROR: proceeding without halting the services"
154
+ else
155
+ # Wait for DPU to halt services, if reboot command is successful
156
+ wait_for_dpu_reboot_status "${dpu_ip}" "${port}" "${DPU_NAME}"
157
fi
-
- wait_for_dpu_reboot_status "${dpu_ip}" "${port}" "${DPU_NAME}"
158
}
159
160
function reboot_dpu()
0 commit comments