commit | 94930a1147ffc3bfd8a8ee50c4513c58a1bd2b55 | [log] [tgz] |
---|---|---|
author | Patrick Venture <venture@google.com> | Tue Apr 30 10:01:58 2019 -0700 |
committer | Vernon Mauery <vernon.mauery@linux.intel.com> | Tue May 07 17:26:35 2019 +0000 |
tree | d7e489ae9be6a3f5bebbe00c6af894449808f694 | |
parent | 84bf9be5e1be52f8bea48abbfb8ac0d3414ddfa4 [diff] |
apphandler: catch exceptions in getting bmc state If the xyz.openbmc_project.State.BMC interface is not provided by anything in the inventory, provide a mechanism for specifying a default state with regards to the BMC state. The dev_id.json file now can have a boolean field, availability, that sets the default that the Get Device Id command should use in the event the interface is unavailable or that there is a dbus error. The default value for the state of the BMC is true. Currently, the service in OpenBMC providing the real value via the dbus interface simply checks that a systemd target is Active. The systemd target checked is the one that starts all the OpenBmc default services, including ipmid. Signed-off-by: Patrick Venture <venture@google.com> Change-Id: Iba2c8308544337490905b0b48ba95785e0d775d4
To build this package, do the following steps:
1. ./bootstrap.sh 2. ./configure ${CONFIGURE_FLAGS} 3. make
To clean the repository run ./bootstrap.sh clean
.