-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
redfishpower: support getting redfish power status
Problem: There are times it would be convenient to know the actual redfish power status returned, rather than the internally mapped "on", "off", or "unknown" power status. Update parse_onoff() to optionally return additional redfish power status. The additional redfish power status returns are "paused", "powering off", and "powering on". Update variable names that call this function to be consistent.
- Loading branch information
Showing
1 changed file
with
52 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters