summaryrefslogtreecommitdiffstats
path: root/xyz/openbmc_project/State/Host.interface.yaml
blob: a5e95e814012cc1d805bbf4218baffb610045863 (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
41
42
43
44
description: >
    Implement to provide host state management

properties:
    - name: RequestedHostTransition
      type: enum[self.Transition]
      default: 'Off'
      description: >
          The desired host transition.  This will be preserved across AC
          power cycles of the BMC.

    - name: CurrentHostState
      type: enum[self.HostState]
      description: >
          A read-only property describing the current state of the host
          firmware. A user can determine if a system is in transition by
          comparing the CurrentHostState and the RequestedHostTransition
          properties.

enumerations:
    - name: Transition
      description: >
        The desired transition for host firmware
      values:
        - name: 'Off'
          description: >
            Host firmware should be off
        - name: 'On'
          description: >
            Host firmware should be on
        - name: 'Reboot'
          description: >
            Host firmware should be rebooted with chassis power remaining on

    - name: HostState
      description: >
        The current state of the host firmware
      values:
        - name: 'Off'
          description: >
            Host firmware is not running
        - name: 'Running'
          description: >
            Host firmware is running
OpenPOWER on IntegriCloud