diff options
Diffstat (limited to 'xyz/openbmc_project/Control/Power/RestorePolicy.interface.yaml')
-rw-r--r-- | xyz/openbmc_project/Control/Power/RestorePolicy.interface.yaml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/xyz/openbmc_project/Control/Power/RestorePolicy.interface.yaml b/xyz/openbmc_project/Control/Power/RestorePolicy.interface.yaml new file mode 100644 index 0000000..1a29980 --- /dev/null +++ b/xyz/openbmc_project/Control/Power/RestorePolicy.interface.yaml @@ -0,0 +1,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. |