Skip to content

feat(bmc-mock): add boot source override and BMC lifecycle events#840

Open
poroh wants to merge 1 commit intoNVIDIA:mainfrom
poroh:bmc-mock-boot-source-override
Open

feat(bmc-mock): add boot source override and BMC lifecycle events#840
poroh wants to merge 1 commit intoNVIDIA:mainfrom
poroh:bmc-mock-boot-source-override

Conversation

@poroh
Copy link
Copy Markdown
Contributor

@poroh poroh commented Apr 7, 2026

Description

Implement BootSourceOverride (mode, enabled, target) in mock BMC with UEFI boot target resolution and automatic "Once" reset on boot.

Replace direct complete_all_bios_jobs() call with event-driven BmcEvent (PowerOff, BootCompleted) emitted by the machine FSM.

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

@poroh poroh requested a review from a team as a code owner April 7, 2026 19:43
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 7, 2026

🔐 TruffleHog Secret Scan

No secrets or credentials found!

Your code has been scanned for 700+ types of secrets and credentials. All clear! 🎉

🔗 View scan details

🕐 Last updated: 2026-04-07 19:45:30 UTC | Commit: 0864994

Implement BootSourceOverride (mode, enabled, target) in mock BMC with
UEFI boot target resolution and automatic "Once" reset on boot.

Replace direct complete_all_bios_jobs() call with event-driven BmcEvent
(PowerOff, BootCompleted) emitted by the machine FSM.

Signed-off-by: Dmitry Porokh <dporokh@nvidia.com>
@poroh poroh force-pushed the bmc-mock-boot-source-override branch from 0864994 to 9df5836 Compare April 7, 2026 21:37
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.

1 participant