summaryrefslogtreecommitdiffstats
path: root/main.cpp
Commit message (Collapse)AuthorAgeFilesLines
* SetLan: Define the global network timerRatan Gupta2018-03-121-0/+4
| | | | | | | | | | | | As timer is being referred in the provider library so it should be defined in per process(host-ipmid, net-ipmid) context. Defining the timer requires to pull the code of timer in this repository so adding the timer class. Change-Id: I4ea5f51fed03dd87d70868b0bc76ff1fb683931c Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
* Cache system GUID in netipmidTom Joseph2017-09-111-0/+6
| | | | | | | | | | | | | | | | 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>
* attach the sd bus to sd_event to receive signalsMarri Devender Rao2017-07-191-0/+1
| | | | | | | | Registering for property change signals for FRU inventory data so notification is required. Change-Id: I2dfee62d32b5b0726faa4643ee1efe9718424a61 Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
* Remove the code related to obsolete event loop.Tom Joseph2017-04-251-134/+0
| | | | | Change-Id: I2398c827f3744bd3949948b2e36248b6c4ee6f25 Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
* Start the event loop for net-ipmidTom Joseph2017-04-251-1/+1
| | | | | Change-Id: I0015dc491bc06f3071e5a896c4c6e5fe1d539421 Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
* Register SOL commands to the command table.Tom Joseph2017-04-251-1/+4
| | | | | Change-Id: If254dd033aa317d6a891789111e56183c2bf3707 Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
* Add SOL manager and event loop to the Singleton poolTom Joseph2017-04-241-2/+5
| | | | | Change-Id: Id619d9b674bcc739cb013042a39d5ae2d38571d2 Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
* Catch the exception when sending the IPMI response messageTom Joseph2017-02-151-2/+10
| | | | | Change-Id: Ib233a797dc13499670c35e21497f8c13c9d74e04 Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
* Modify the sd_event_loop to use systemd activated socketTom Joseph2017-01-311-13/+3
| | | | | Change-Id: I98cd7c3b5f8aad132e2671cbc2387a0f8b62cb6e Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
* Code changes to support IPMI provider librariesTom2017-01-181-2/+19
| | | | | Change-Id: I4c349d88d4e98a6ca148a040b4ed12c628c6b95f Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
* Load IPMI provider libraries into net-ipmidTom2017-01-181-0/+4
| | | | | | | | | The logic to scan /usr/lib/net-ipmid for shared libraries and load them and the callback function to register commands to command table. Change-Id: Ib09cce5a9b418171822208d1d7b322e4b1c8b2b9 Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
* IPMI Main HandlerTom Joseph2017-01-091-0/+193
This patch contains the entry point for the IPMI RMCP Server. It registers the session setup commands and start the IPMI event handler. Resolves openbmc/openbmc#429 Change-Id: I98a615eef9becb29964f8ec93e59d061bfcdfac3 Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
OpenPOWER on IntegriCloud