blob: 2b21ce2178e3f267f196db649e34eb5e83268f5b [file] [log] [blame]
Deepak Kodihalli4b271e12017-05-13 09:57:52 -05001description: >
Patrick Williamsa1347412022-12-06 10:56:22 -06002 Implement to specify power transition behavior on a BMC reset. The
3 implementation may choose to only enforce the policy on a power loss or on
4 both a power loss and BMC reboot.
Deepak Kodihalli4b271e12017-05-13 09:57:52 -05005
6properties:
7 - name: PowerRestorePolicy
8 type: enum[self.Policy]
Patrick Williams8da396c2022-03-14 14:21:02 -05009 default: "Restore"
Deepak Kodihalli4b271e12017-05-13 09:57:52 -050010 description: >
Andrew Geisslerbb97d962017-10-17 16:12:02 -050011 The policy to adopt after the BMC reset.
Andrei Kartashev33c38cb2022-01-09 11:26:33 +030012 - name: PowerRestoreDelay
13 type: uint64
14 default: 0
15 description: >
16 The delay in microseconds before invoke power restore policy after
Patrick Williamsa1347412022-12-06 10:56:22 -060017 power applied. 0 - disable delay.
Deepak Kodihalli4b271e12017-05-13 09:57:52 -050018
19enumerations:
20 - name: Policy
21 description: >
Patrick Williams8da396c2022-03-14 14:21:02 -050022 Possible power restoration policies.
Deepak Kodihalli4b271e12017-05-13 09:57:52 -050023 values:
Patrick Williams8da396c2022-03-14 14:21:02 -050024 - name: None
25 description: >
26 Perform no power restore logic.
27 - name: AlwaysOn
28 description: >
29 Perform a complete power on process.
30 - name: AlwaysOff
31 description: >
32 Perform a complete power off process.
33 - name: Restore
34 description: >
Patrick Williamsa1347412022-12-06 10:56:22 -060035 Restore power to last requested state recorded before the BMC
36 was reset.