mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-06 02:30:32 -07:00
Redfish: implement setting PowerRestorePolicy (#9837)
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.
Tested against an OpenBMC system running bmcweb Redfish server making sure the
policy is updated only when needed and that errors and messages are propogated
properly.
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
(cherry picked from commit abe4e5ce95
)
Co-authored-by: Paul Fertser <fercerpav@gmail.com>
2 lines
212 B
YAML
2 lines
212 B
YAML
minor_changes:
|
|
- redfish_config - add command ``SetPowerRestorePolicy`` to set the desired power state of the system when power is restored (https://github.com/ansible-collections/community.general/pull/9837).
|