xref: /openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Control/Power/RestorePolicy.interface.yaml (revision c43d228a079f021ea2ac12923d2ac0fc6c1e38e5)
  • Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1description: >
2    Implement to specify power transition behavior on a BMC reset.
3    The implementation may choose to only enforce the policy on
4    a power loss or on both a power loss and BMC reboot.
5
6properties:
7    - name: PowerRestorePolicy
8      type: enum[self.Policy]
9      default: 'Restore'
10      description: >
11          The policy to adopt after the BMC reset.
12
13enumerations:
14    - name: Policy
15      description: >
16        Possible power restoration policies.
17      values:
18        - name: None
19          description: >
20            Perform no power restore logic.
21        - name: AlwaysOn
22          description: >
23            Perform a complete power on process.
24        - name: AlwaysOff
25          description: >
26            Perform a complete power off process.
27        - name: Restore
28          description: >
29            Restore power to last requested state recorded before the BMC was
30            reset.
31

served by {OpenGrok

Last Index Update: Sun May 25 03:01:12 CDT 2025