summaryrefslogtreecommitdiffstats
path: root/xyz/openbmc_project/Control/Power/RestorePolicy.interface.yaml
blob: 1f90937df2cddc095f096757c8526a301488a18d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
description: >
    Implement to specify power transition behavior on a BMC reset.
    The implementation may choose to only enforce the policy on
    a power loss or on both a power loss and BMC reboot.

properties:
    - name: PowerRestorePolicy
      type: enum[self.Policy]
      description: >
          The policy to adopt after the BMC reset.

enumerations:
    - name: Policy
      description: >
        Possible power restoration policies.
      values:
        - name: AlwaysOn
          description: >
            Perform a complete power on process.
        - name: AlwaysOff
          description: >
            Remain powered off.
        - name: Restore
          description: >
            Restore power to last requested state recorded before the BMC was
            reset.
OpenPOWER on IntegriCloud