labgrid
labgrid copied to clipboard
NetworkPowerPort should accept user and password for PDUs
In case of a PDU = Power Distribution Unit, like EG-PMS2-LAN or DLI Web Power Switch, a custom user and password can be configured.
Depending on the security level required, a new power backend can be added and the parameters could be supplied by the YAML environment file.
I'd prefer to handle new power controllers via https://github.com/pdudaemon/pdudaemon
Ok. Then, are you willing to add another power driver in labgrid?
We'd take a PR to add pdudaemon support. It's been on my list for some time, but more urgent stuff keeps coming up. If you're interested, I could sketch the resource and driver structure.
Yes, I'm interested.
Has anybody started with PDUDaemon support yet? We also need support for two different new PDUs and I probably could spend some time working on this.
See #510, pdudaemon should already be working.
Great, somehow I missed that…
PDUDaemon is the recommended way here.