Skip to content

feat: add a force_direct flag to the component management API#1803

Open
spydaNVIDIA wants to merge 1 commit into
NVIDIA:mainfrom
spydaNVIDIA:pyda_cm5
Open

feat: add a force_direct flag to the component management API#1803
spydaNVIDIA wants to merge 1 commit into
NVIDIA:mainfrom
spydaNVIDIA:pyda_cm5

Conversation

@spydaNVIDIA
Copy link
Copy Markdown
Contributor

Description

feat: add a force_direct flag to the component management API that allows clients to bypass the state controller and directly dispatch power and firmware control to the component backend (RMS, NSM, PSM etc)

Type of Change

  • Add - New feature or capability
  • Change - Changes in existing functionality
  • Fix - Bug fixes
  • Remove - Removed features or deprecated functionality
  • Internal - Internal changes (refactoring, tests, docs, etc.)

Related Issues (Optional)

Breaking Changes

  • This PR contains breaking changes

Testing

  • Unit tests added/updated
  • Integration tests added/updated
  • Manual testing performed
  • No testing required (docs, internal refactor, etc.)

Additional Notes

@spydaNVIDIA spydaNVIDIA requested a review from kunzhao-nv May 19, 2026 10:41
@spydaNVIDIA spydaNVIDIA requested a review from a team as a code owner May 19, 2026 10:41
…lows clients to d bypass the state controller and directly dispatch power and firmware control to the component backend (RMS, NSM, PSM etc)
PowerShelfIdList power_shelf_ids = 3;
}
common.SystemPowerControl action = 4;
// When true, bypass the state controller and dispatch directly to the
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

cc @shayan1995 for visibility on proto changes in #1770

@ajf
Copy link
Copy Markdown
Collaborator

ajf commented May 19, 2026

feat: add a force_direct flag to the component management API that allows clients to bypass the state controller and directly dispatch power and firmware control to the component backend (RMS, NSM, PSM etc)

what's the use-case here?

@spydaNVIDIA
Copy link
Copy Markdown
Contributor Author

feat: add a force_direct flag to the component management API that allows clients to bypass the state controller and directly dispatch power and firmware control to the component backend (RMS, NSM, PSM etc)

what's the use-case here?

To be able to facilitate firmware updates (and power control) in cases where machines are stuck in the state machine (maybe a firmware update is needed to read some redfish attribute that is causing a machine to get stuck). Or in cases where we know a certain update causes the state machine issues.

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