Skip to content

Conversation

@nmgaston
Copy link
Collaborator

@nmgaston nmgaston commented Oct 17, 2025

Summary

Implements comprehensive Redfish v1.11.0 compliant ComputerSystem reset functionality with proper error handling, validation, and asynchronous task responses.

  • Add comprehensive reset type validation (GracefulShutdown, GracefulRestart, ForceOff, ForceOn, ForceRestart, Nmi, PowerCycle)
  • Implement task-based asynchronous response pattern with secure task ID generation
  • Add power state conflict detection to prevent invalid operations
  • Enhance error handling with Redfish-compliant message registry responses
  • Add comprehensive input validation and sanitization
  • Implement proper HTTP status codes per Redfish standard

@nmgaston nmgaston force-pushed the redfish-computersystem-reset branch 3 times, most recently from faa08a4 to f6f84bc Compare October 18, 2025 00:40
@nmgaston nmgaston marked this pull request as ready for review October 18, 2025 00:47
@nmgaston nmgaston requested a review from sudhir-intc October 22, 2025 20:50
@nmgaston nmgaston force-pushed the redfish-computersystem-reset branch from 7b1f813 to f58c5df Compare October 22, 2025 21:46
@nmgaston nmgaston marked this pull request as draft October 23, 2025 15:18
@nmgaston nmgaston force-pushed the redfish-computersystem-reset branch 2 times, most recently from f9902a7 to d45f2b0 Compare October 23, 2025 17:00
@nmgaston nmgaston marked this pull request as ready for review October 23, 2025 23:49
Copy link
Collaborator

@rsdmike rsdmike left a comment

Choose a reason for hiding this comment

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

Just a couple things to leverage that exist already, otherwise looks good to me.

@nmgaston nmgaston requested a review from rsdmike October 25, 2025 18:41
@nmgaston
Copy link
Collaborator Author

Moved to a different fork. Not to be used.

@nmgaston nmgaston closed this Oct 30, 2025
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