1description: >
2    Power control service
3methods:
4    - name: forcePowerOff
5      description: >
6        Force power off the host.
7      returns:
8        - name: status
9          type: boolean
10          description: >
11            The result of power off command.
12      errors:
13       - xyz.openbmc_project.Chassis.Common.Error.UnsupportedCommand
14       - xyz.openbmc_project.Chassis.Common.Error.IOError
15
16properties:
17    - name: PGood
18      type: boolean
19      default: false
20      description: >
21       PSU Power good property
22       It is a read-only property.
23    - name: State
24      type: int32
25      default: 0
26      description: >
27       System power status
28       0: power is off
29       1: power is on
30       Setting its value to change the system state
31       Read its value to get the system state.