Skip to content

Add BMC reset command #47

@rustydb

Description

@rustydb
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
  • RFE

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions