summaryrefslogtreecommitdiffstats
path: root/xyz/openbmc_project/Control/Power/RestorePolicy.interface.yaml
blob: 1a29980a844663133ae7f328cd149c704c53ac1b (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
description: >
    Implement to specify power transition behavior on restoration of lost main
    power source.

properties:
    - name: PowerRestorePolicy
      type: enum[self.Policy]
      description: >
          The policy to adopt on restoration of power.

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 a state that was known, just before the main power
            was lost.
OpenPOWER on IntegriCloud