diff options
author | Josh King <jdking@us.ibm.com> | 2016-11-24 14:54:35 -0600 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2017-01-04 20:05:44 +0000 |
commit | d7d237bc738bd25e88263069cf6f1fc0078dd76c (patch) | |
tree | 8ad6739c1e912e1050e426d064208b273df5de13 /xyz/openbmc_project/State/BMC.interface.yaml | |
parent | 2477d9a53b724580860a78c5d5360af37b5f37b0 (diff) | |
download | phosphor-dbus-interfaces-d7d237bc738bd25e88263069cf6f1fc0078dd76c.tar.gz phosphor-dbus-interfaces-d7d237bc738bd25e88263069cf6f1fc0078dd76c.zip |
Defined properties in the bmc state management
Created the yaml file that contained the
necessary properties needed for bmc state
management. This is needed so we can have
access to the different states of the bmc
for whenever we decide to transition to a
desired state, or would like to reboot, etc.
Change-Id: Ife02f7b324262eccb990d29ed872cf4137857e14
Signed-off-by: Josh King <jdking@us.ibm.com>
Diffstat (limited to 'xyz/openbmc_project/State/BMC.interface.yaml')
-rw-r--r-- | xyz/openbmc_project/State/BMC.interface.yaml | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/xyz/openbmc_project/State/BMC.interface.yaml b/xyz/openbmc_project/State/BMC.interface.yaml new file mode 100644 index 0000000..45dbc48 --- /dev/null +++ b/xyz/openbmc_project/State/BMC.interface.yaml @@ -0,0 +1,40 @@ +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 + + - name: CurrentBMCState + type: enum[self.BMCState] + description: > + The current state of the BMC and is a read-only property. + +enumerations: + - name: Transition + description: > + The desired transition for the BMC firmware + values: + - name: 'Reboot' + description: > + BMC system should be 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 |