-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[featurerequest] Ability to query power information #81
Comments
I see that there's a test case for this, so it appears that it's possible, but I can't figure out the syntax to use in real code.
|
Ok, after a more hours than I would like to admit, I've figured out the required incantation, thanks to the unit tests:
It would really be nice if this was part of the simple api. |
Hi Sean, Actually the Machines endpoint has a 'power_parameters' method - the branch I attached exposes this as a method on the Machines class |
It would be really useful to be able to use the "op=power_parameters" machine query to get IPMI information. Something like...
c.machines.get('machineid').power_parameters
I looked through the code to see if I could add it myself but used up my self-imposed timebox :) The code uses some abstractions that make it pretty difficult to follow for someone new to the project.
The text was updated successfully, but these errors were encountered: