-
Notifications
You must be signed in to change notification settings - Fork 66
/
BMC.interface.yaml
98 lines (90 loc) · 3.29 KB
/
BMC.interface.yaml
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
description: >
Implementation of BMC state management. When rebooting we are in
transition. When Ready all services required are running
successfully. When we are Not Ready this implies not all services have
started that are required to be.
properties:
- name: RequestedBMCTransition
type: enum[self.Transition]
default: "None"
description: >
The desired BMC transition
errors:
- xyz.openbmc_project.Common.Error.Unavailable
- name: CurrentBMCState
type: enum[self.BMCState]
description: >
The current state of the BMC and is a read-only property.
- name: LastRebootTime
type: uint64
description: >
The last time at which the BMC came out of a reboot as determined by
its uptime, in epoch time, in milliseconds.
- name: LastRebootCause
type: enum[self.RebootCause]
default: "Unknown"
description: >
The last BMC reboot cause
enumerations:
- name: Transition
description: >
The desired transition for the BMC firmware
values:
- name: "Reboot"
description: >
BMC system should be rebooted
- name: "HardReboot"
description: >
BMC system should be non-gracefully rebooted.
- name: "None"
description: >
No transition is in progress
- name: BMCState
description: >
The current state of the BMC firmware
values:
- name: "Ready"
description: >
Ready implies all services started and are running successfully
- name: "NotReady"
description: >
Not ready implies not all services have started or are not
running successfully
- name: "UpdateInProgress"
description: >
UpdateInProgress implies BMC is in firmware update mode.
CurrentBMCState will be set to "UpdateInProgress" while starting
image download and reset to Ready, once activation is done or
error case during update process.
- name: "Quiesced"
description: >
BMC firmware is quiesced. The BMC firmware is enabled but either
unresponsive or only processing a restricted set of commands.
This state may be the result of a service within the BMC going
into a failed state.
- name: RebootCause
description: >
The recorded reboot cause of the BMC
values:
- name: "POR"
description: >
Last reboot is caused by Power-On-Reset
- name: "PinholeReset"
description: >
Last reboot is caused by pinhole reset
- name: "Watchdog"
description: >
Last reboot is caused by Watchdog
- name: "Software"
description: >
Last reboot is caused by Software
- name: "Unknown"
description: >
Last reboot is caused by Unknown
paths:
- namespace: /xyz/openbmc_project/state
segments:
- name: BMC
description: >
The object representing _this_ BMC is always at bmc0.
value: bmc0