SUMMARY
Add an analog to ipmitool's mc reset, and invoke the reset functions in GoFish for:
- warm and cold reset
- Forceful resets (
curl -X POST -k -u ${username}:${IPMI_PASSWORD} -H 'Content-Type: application/json' -d '{"ResetType":"ForceRestart"}' https://$BMC/redfish/v1/Managers/Self/Actions/Manager.Reset)
ISSUE TYPE
Spec.
New subcommand: gru chassis mc
Parameters:
warm : warm reset the BMC
cold : cold reset the BMC
-f|--force: force reset the BMC
If a method is not supported by the target BMC(s), return an error for that target.
ADDITIONAL INFORMATION
This issue was migrated from MTL-2357.
SUMMARY
Add an analog to
ipmitool'smc reset, and invoke the reset functions in GoFish for:curl -X POST -k -u ${username}:${IPMI_PASSWORD} -H 'Content-Type: application/json' -d '{"ResetType":"ForceRestart"}' https://$BMC/redfish/v1/Managers/Self/Actions/Manager.Reset)ISSUE TYPE
Spec.
New subcommand:
gru chassis mcParameters:
warm: warm reset the BMCcold: cold reset the BMC-f|--force: force reset the BMCIf a method is not supported by the target BMC(s), return an error for that target.
ADDITIONAL INFORMATION
This issue was migrated from MTL-2357.