Add powerdrivers for AMT and IPMI powered PC's
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-clientand 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
Has this PR been tested?
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.
Testing is done. Missed the args attribute we added as for some machines we need to customize the executed IPMI command further.
This PR has some overlap with: https://github.com/labgrid-project/labgrid/pull/1567
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?