Skip to content

Added reset POST route /trigger-reboot#48

Open
eelgaev wants to merge 1 commit into
NVIDIA:public-mainfrom
eelgaev:slr-request
Open

Added reset POST route /trigger-reboot#48
eelgaev wants to merge 1 commit into
NVIDIA:public-mainfrom
eelgaev:slr-request

Conversation

@eelgaev
Copy link
Copy Markdown

@eelgaev eelgaev commented May 19, 2026

This is a new HTTP POST route to enable host reset or power cycles from DPU.

@eelgaev eelgaev marked this pull request as draft May 19, 2026 18:18
@eelgaev eelgaev marked this pull request as ready for review May 20, 2026 22:37
}
case provisioningv1.RebootMethodPowerCycle:
dpuNode := &provisioningv1.DPUNode{}
if err := s.Get(rebootCtx, client.ObjectKey{Name: dpu.Spec.DPUNodeName}, dpuNode); err != nil {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
if err := s.Get(rebootCtx, client.ObjectKey{Name: dpu.Spec.DPUNodeName}, dpuNode); err != nil {
if err := s.Get(rebootCtx, client.ObjectKey{Namespace: dpu.Namespace, Name: dpu.Spec.DPUNodeName}, dpuNode); err != nil {

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.

2 participants