summaryrefslogtreecommitdiffstats
path: root/Makefile.am
Commit message (Collapse)AuthorAgeFilesLines
* Create IPMI SEL record from Logging DBUS EntryTom Joseph2017-07-081-1/+2
| | | | | | | | | | The Log Id, resolved field and the timestamp is read from the DBUS entry and mapped to the SEL record. The remaining fields are populated from the generated code which maps an association to the sensor number. Change-Id: I89c3862cf35efa1b9fb86de734431c8141143fb7 Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
* generate map of phosphor-dbus fru propertiesMarri Devender Rao2017-06-261-2/+11
| | | | | | | | | | Reusing frup.hpp, example.yaml, fru-gen.py, writefru.mako.cpp from ipmi-fru-gen repository to generate map of frup properties. Generated map facilitates in reading data from the inventory. Change-Id: I6d6dbc55a340dd06b4639f8bded8cc09df815a59 Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
* Create file to indicate host requested off/rebootAndrew Geissler2017-06-061-1/+1
| | | | | | | | | | Create a file to ensure the soft power off service is not run when the host is requesting a power off or reboot. There's no need to notify the host (i.e. soft power off) when they are initiating it. Change-Id: Ic9f8e7110d30f477ceae38bba9d684559d9503d3 Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
* Makefile changes for generating inventory-sensor-gen.cppTom Joseph2017-05-191-2/+6
| | | | | | | | | Provide capability for the recipe to pass the config yaml as a configurable output. Fallback to inventory-sensor-example.yaml in case no config yaml is passed. Change-Id: I6a069b0925c3e4c4d56bd1c9767b8fadcdf433b4 Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
* Add timeout support to host controlAndrew Geissler2017-05-091-1/+2
| | | | | | | On timeout, send error signal for all commands within the queue Change-Id: Ic995fd4b057bd83f121a3deec405a26e0991e9a2 Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
* Add sd_event processing to host ipmid applicationAndrew Geissler2017-05-091-2/+2
| | | | | | | | In order to support the timer function, it's required to use the sd_event loop instead of sdbus loop Change-Id: I3a30fee1a21cbfadd0cbb5478bf46bea4b5ca0b8 Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
* Implement basic queue for sending multiple commandsAndrew Geissler2017-05-091-11/+6
| | | | | | | Sends dbus signal upon completion of command Change-Id: Ic507f35af0b38305eecd5558c55738f2d283aac5 Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
* Send the SMS attention to host when Execute calledAndrew Geissler2017-05-091-1/+2
| | | | | Change-Id: Id523470fcabf59cf2bda592cf1fe687ac44c3328 Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
* Register new Control.Host bus in ipmidAndrew Geissler2017-05-091-1/+1
| | | | | | | | This sets up the framework for future commits to implement the required interfaces and signals in Control.Host Change-Id: I43cd7d3047ed9cfbf1a01e7ba3a0310e9d47c307 Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
* Compile new control host codeAndrew Geissler2017-05-091-0/+13
| | | | | | | | | | | | The purpose of this series of commits is to provide the ability for other services to communicate with the host. Specifically with this series, to be able to request the host power itself down or to simply check if the host is running. Change-Id: I0136467cd3f258fbed3e40e4b7269ed4d8a23e46 Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
* IPMI: Remove the old host-services files from ipmidVishwanatha Subbanna2017-04-041-7/+0
| | | | | Change-Id: Ia497bf79047f442374d0b2b8508338a556b60099 Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
* Add initial code for IPMI SoftPowerOff functionalityVishwanatha Subbanna2017-03-221-1/+2
| | | | | | | | This commit puts a skeleton layout for the IPMI Soft Power Off functionality. Change-Id: I7c3ededc9d4038e172d7f6230270ecfe397330e9 Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
* libapphandler:adding the dependecy for phosphor-dbus-interfacesRatan Gupta2017-03-201-2/+2
| | | | | Change-Id: I2f0cc95b05c8a4d091a49370c6d2eaf9d06a469d Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
* Modify set sensor reading commandTom Joseph2017-03-151-1/+2
| | | | | | | | | The Set Sensor handling code is modified to use generated code for CPU, Core & DIMM sensors with Presence & Functional offset. Change-Id: I3b7fa4da870b745873da4732d457d793f5549ada Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
* build : provide sensor yaml as configRatan Gupta2017-03-151-5/+10
| | | | | | | | | | Make it possible for the phosphor-host-ipmid recipe to be able to supply the sensor YAML as configurable input. Use sensor-example.yaml as input. Change-Id: Iefbfeeff5561e6e90543fc7a69c04aeee5e76dd1 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
* Update chassis command handler to use state manager servicesVishwanatha Subbanna2017-03-071-2/+2
| | | | | | | | | | | Until now, IPMI chassis command handler was utilising services from chassis_control script and this patch makes a transition to use the services from the latest State Manager daemon. Fixes openbmc/openbmc#1238 Change-Id: Ic075971bbda44829a3ebe9c0c1de3053a8e97cfa Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
* Add environment variable for WHITELIST_CONFTom Joseph2017-02-211-1/+0
| | | | | Change-Id: Ib9bb50332c4203ccbbe72e3e5b9e641a51bdacbb Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
* Create a SEL error logAdriana Kobylak2017-02-161-3/+3
| | | | | | | | Log the SEL data to the journal and call the commit interface to write the error log with the data. Change-Id: Ifcb842e37f2fdb14f80ab24651d565da05da47bf Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
* Package provider libraries to a common pathTom2017-01-311-6/+6
| | | | | | | The provider libraries are copied into /usr/lib/ipmid-providers Change-Id: I8a8ee34b77483ea8c4f47f3cfa5fa4c505c7a29b Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
* Create library for System Interface Commands.Tom2017-01-171-0/+6
| | | | | | | | | | There are IPMI commands like Read Event Message Buffer, Set BMC Global Enables and Get Message Flags which is to be executed from host interface only. So creating a separate library for these commands which would be used only by phosphor-host-ipmid. Change-Id: I14cb4019b9ab19c84e463e5a7820010f57f1c5eb Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
* Correct minor mistakes from autotools conversionMatthew Barth2016-12-291-1/+0
| | | | | | | | Removed unnecessary ipmiwhitelist entry so not to be mistakenly added to SOURCES. Change-Id: I971a80dfb9ba942c7e8048d706cd9b59ac224c11 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
* Propose and implement unit test frameworkMatthew Barth2016-09-281-14/+1
| | | | | | | Enable use of GoogleTest and created a sample unit test case. Change-Id: Ie370745a32777d4ed81ee24145364029c8e7bf02 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
* Allow out-of-tree buildsPatrick Williams2016-09-061-7/+5
| | | | | Change-Id: If4b97e65f63c3abbf23140dd97b9febe00b3be0d Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* Minor reorder and simplification of autotools filesPatrick Williams2016-09-021-17/+21
| | | | | Change-Id: I55db0cf7f6041890564f557c98286c8b4bde80cb Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* Convert build process to autotoolsMatthew Barth2016-09-021-0/+61
Replaced the use of manual Makefile(s) with the use of autotools to automatically verify and generate the necessary build files. Follow the steps outlined within the README file to build the package. Change-Id: Ia3e1e1be7b18fb90382fd56f555866120ae5ece9 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
OpenPOWER on IntegriCloud