Open hieuhuynh-ampere opened 3 years ago
Hi,
As Redfish Schema Supplement document, the PowerRestorePolicy defined: AlwaysOff, AlwaysOn, LastState
The bmcweb is handle this already
But, dbus-interfaces does not handle the "LastState" enumerations. It just defines AlwaysOff, AlwaysOn, Restore. https://github.com/openbmc/phosphor-dbus-interfaces/blob/master/xyz/openbmc_project/Control/Power/RestorePolicy.interface.yaml
Why is a mismatch between Redfish specification and phosphor-dbus-interface? Should it be changed to "LastState" instead of "Restore"?
Hi,
As Redfish Schema Supplement document, the PowerRestorePolicy defined: AlwaysOff, AlwaysOn, LastState
The bmcweb is handle this already
But, dbus-interfaces does not handle the "LastState" enumerations. It just defines AlwaysOff, AlwaysOn, Restore. https://github.com/openbmc/phosphor-dbus-interfaces/blob/master/xyz/openbmc_project/Control/Power/RestorePolicy.interface.yaml
Why is a mismatch between Redfish specification and phosphor-dbus-interface? Should it be changed to "LastState" instead of "Restore"?