I would like to use IPMI to set the machine to boot PXE (i.e. ipmitool -I lan -U username -P password -H ipaddress chassis bootdev pxe), and then activate the loop (i.e. ipmitool -I lan -U username -P password -H ipaddress chassis power cycle). However, I would like to do this in a python script, so I'm trying to use OpenIPMI and its python bindings.
I can not find any OpenIPMI documentation for the python script, and I'm not sure how to apply IPMI commands correctly (make sure the machine is in the correct state, so the commands do not work), Can someone please show me some pointers or resources for using OpenIPMI (or alternatives) to manage IPMI commands in python? Thank!
source
share