labgrid icon indicating copy to clipboard operation
labgrid copied to clipboard

Add powerdrivers for AMT and IPMI powered PC's

Open sessl3r opened this issue 11 months ago • 5 comments

Description

Adds resources/drivers to power on/off/get PC's which can be accessed via AMT/IPMI remotely.

  • how did you verify the feature works? Just by running labgrid-client and Pytest powering such devices on/off, no direct tests implemented.
  • if hardware is needed for the feature, which hardware is supported and which hardware did you test with? Tests were executed using HPz620/HPz640 workstations for AMT and for example ASRockRack EPYCD8-2T for IPMI.

Checklist

  • [x] Documentation for the feature
  • [ ] Tests for the feature
  • [x] The arguments and description in doc/configuration.rst have been updated
  • [x] PR has been tested
  • [x] Man pages have been regenerated

sessl3r avatar Feb 12 '25 08:02 sessl3r

Has this PR been tested?

Emantor avatar Feb 17 '25 07:02 Emantor

Has this PR been tested?

Testing exactly the PR is todo as this is a cherry-pick from our internal branch. Will update the checklist when tested.

sessl3r avatar Feb 17 '25 08:02 sessl3r

Testing is done. Missed the args attribute we added as for some machines we need to customize the executed IPMI command further.

sessl3r avatar Feb 18 '25 08:02 sessl3r

This PR has some overlap with: https://github.com/labgrid-project/labgrid/pull/1567

ep1cman avatar Feb 20 '25 00:02 ep1cman

This PR has some overlap with: #1567

I see. Not sure if using ipmi-power or ipmitool makes more sense. Quickly tested ipmitool against our machines and it also works for all of them. How would you like to proceed?

sessl3r avatar Feb 25 '25 10:02 sessl3r