mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-06 02:30:32 -07:00
Redfish: implement obtaining PowerRestorePolicy (#9824) (#9824)
This property ("The desired power state of the system when power is
restored after a power loss.") was added in ComputerSystem.v1_6_0 which
became part of 2018.3 Redfish release.
Example result from querying OpenBMC's bmcweb Redfish server:
```
entries:
- - system_uri: /redfish/v1/Systems/system
- AlwaysOff
ret: true
```
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
(cherry picked from commit
|
||
---|---|---|
.. | ||
action | ||
become | ||
cache | ||
callback | ||
connection | ||
doc_fragments | ||
filter | ||
inventory | ||
lookup | ||
module_utils | ||
modules | ||
plugin_utils | ||
test |