summaryrefslogtreecommitdiffstats
path: root/xyz/openbmc_project/Chassis/Control/Power.interface.yaml
blob: 082586fd9b84160afcb4c030c76060c81a7628ed (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
27
28
29
30
31
description: >
    Power control service
methods:
    - name: forcePowerOff
      description: >
        Force power off the host.
      returns:
        - name: status
          type: boolean
          description: >
            The result of power off command.
      errors:
       - xyz.openbmc_project.Chassis.Common.Error.UnsupportedCommand
       - xyz.openbmc_project.Chassis.Common.Error.IOError

properties:
    - name: PGood
      type: boolean
      default: false
      description: >
       PSU Power good property
       It is a read-only property.
    - name: State
      type: int32
      default: 0
      description: >
       System power status
       0: power is off
       1: power is on
       Setting its value to change the system state
       Read its value to get the system state.
OpenPOWER on IntegriCloud