summaryrefslogtreecommitdiffstats
path: root/xyz/openbmc_project/State/Chassis.interface.yaml
blob: 42c8f719d76c8f6c4680d14f98751b0a663323e6 (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
32
33
34
35
36
37
38
39
40
description:
    Implement to provide the chassis power management

properties:
    - name: RequestedPowerTransition
      type: enum[self.Transition]
      default: 'Off'
      description: >
          The desired power transition to start on this chassis.
          This will be preserved across AC power cycles of the BMC.

    - name: CurrentPowerState
      type: enum[self.PowerState]
      description: >
          A read-only property describing the current chassis power state.
          A user can determine if a chassis is in transition by comparing
          the CurrentPowerState and RequestedPowerTransition properties.

enumerations:
    - name: Transition
      description: >
        The desired power transition for the chassis
      values:
        - name: 'Off'
          description: >
            Chassis  power should be off
        - name: 'On'
          description: >
            Chassis power should be on

    - name: PowerState
      description: >
        The current state of the chassis power
      values:
        - name: 'Off'
          description: >
            Chassis power is off
        - name: 'On'
          description: >
            Chassis power is on
OpenPOWER on IntegriCloud