summaryrefslogtreecommitdiffstats
path: root/main.hpp
Commit message (Collapse)AuthorAgeFilesLines
* netipmid: move to sdbusplus::asio from sdbusplusVernon Mauery2019-02-251-2/+2
| | | | | | | | To be able to support asynchronous dbus calls, the main bus object should be an sdbusplus::asio::connection. Change-Id: Ib7d3474eb32505d2326f0d6db9566528a58ccd03 Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com>
* netipmid: move to sdbusplus from sdbus minusVernon Mauery2018-11-211-0/+3
| | | | | | | | In main, wrapping the raw sd_bus object with an sdbusplus class makes deals with the unref problem automatically. Change-Id: I7d21c21bc09cc96e2d4b07d1b51b6f82239e0793 Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com>
* netipmid: apply clang-format rulesVernon Mauery2018-11-021-6/+7
| | | | | | | | Lots of whitespace change. Let clang-format do its job and keep the code looking nice. Change-Id: Idfcad1a99cab8170d55a06163de8ad3f420b68b7 Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com>
* Spelling fixesGunnar Mills2017-10-251-1/+1
| | | | | | | | | Spelling errors found using github.com/lucasdemarchi/codespell A tool to fix common misspellings. This tool is licensed under GNU General Public License, version 2. Change-Id: I951ec38ae08ba0b20733dce1300546f4a7541eff Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
* Cache system GUID in netipmidTom Joseph2017-09-111-0/+1
| | | | | | | | | | | | | | | | GUID is used in the IPMI session setup steps RAKP12 and RAKP34. The GUID is read from the DBUS property. It is observed that when the host is booting, reading the GUID takes a significant delay and the session setup fails with ipmitool. Since GUID doesn't change for a machine, it is safe to cache GUID in the netipmid and speed up the session setup. Resolves openbmc/openbmc#1812 Resolves openbmc/openbmc#2245 Resolves openbmc/openbmc#2246 Change-Id: I78c993b3e5ef8b6764457c8fdb3ecb985b965c0c Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
* Add SOL manager and event loop to the Singleton poolTom Joseph2017-04-241-1/+6
| | | | | Change-Id: Id619d9b674bcc739cb013042a39d5ae2d38571d2 Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
* Add Message HandlerTom Joseph2016-12-161-0/+12
IPMI message Handler encapsulates the operations with respective to each IPMI message.The routines are there to read the message, execute the command and send the response. Change-Id: I607416f723510326748b3eba73f3a6557c40dd06 Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
OpenPOWER on IntegriCloud