Skip to content

Commit

Permalink
model/task: declare parameters for BMC resets
Browse files Browse the repository at this point in the history
  • Loading branch information
joelrebel committed Dec 5, 2023
1 parent 4d0502f commit d005f5a
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions internal/model/task.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,14 @@ type Action struct {
// on the component is not equal to one being installed. If its equal, the action will return an error.
VerifyCurrentFirmware bool

// BMCPowerCycleRequired is set when an action handler determines the BMC requires a reset.
BMCPowerCycleRequired bool
// BMC reset required before install
BMCResetPreInstall bool

// BMC reset required after install
BMCResetPostInstall bool

// BMC reset required on install failure
BMCResetOnInstallFailure bool

// HostPowerCycled is set when the host has been power cycled for the action.
HostPowerCycled bool
Expand Down

0 comments on commit d005f5a

Please sign in to comment.