Skip to content

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

@hieuhuynh-ampere

Description

@hieuhuynh-ampere

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions