openbmc / phosphor-dbus-interfaces

YAML descriptors of standard dbus interfaces
Apache License 2.0
39 stars 65 forks source link

The PowerRestorePolicy properties does not have "LastState" enumerations #13

Open hieuhuynh-ampere opened 3 years ago

hieuhuynh-ampere commented 3 years ago

Hi,

As Redfish Schema Supplement document, the PowerRestorePolicy defined: AlwaysOff, AlwaysOn, LastState image

The bmcweb is handle this already image

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"?