summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* ipmid-api: wrap in extern "C"Joel Stanley2015-11-251-4/+11
| | | | | | | Wrap the entire header in an ifdef'd extern "C" so it can be used from C files. This fixes compilation for c files that need the header. Signed-off-by: Joel Stanley <joel@jms.id.au>
* Remove unused variables and labelsJoel Stanley2015-11-252-7/+3
| | | | Signed-off-by: Joel Stanley <joel@jms.id.au>
* Merge pull request #41 from vishwabmc/masterPatrick Williams2015-11-2410-12/+324
|\ | | | | IPMI soft power off
| * IPMI soft power offvishwa2015-11-2410-12/+324
|/
* Merge pull request #43 from causten/ipmidapinkskjames2015-11-241-1/+1
|\ | | | | Externing api for others
| * Externing api for othersChris Austen2015-11-231-1/+1
|/
* Merge pull request #40 from nkskjames/masterPatrick Williams2015-11-231-4/+16
|\ | | | | fix set sel time
| * fix set sel timeNorman James2015-11-231-4/+16
|/
* Merge pull request #38 from causten/reduceconnectionsPatrick Williams2015-11-133-13/+11
|\ | | | | ipmid taking too many dbus connections
| * ipmid taking too many dbus connectionsChris Austen2015-11-133-13/+11
| |
* | Merge pull request #35 from anoo1/bootoptionsPatrick Williams2015-11-133-0/+80
|\ \ | |/ |/| Add support for IPMI Get Boot Options command
| * Add support for IPMI Get Boot Options commandAdriana Kobylak2015-11-103-0/+80
| | | | | | | | | | Create new Chassis NetFn file and add basic support for OPAL to call the IPMI Get Boot Options command.
* | Merge pull request #36 from causten/betterlogsnkskjames2015-11-112-4/+13
|\ \ | |/ |/| Hostboot not clearing out its cached logs
| * Hostboot not clearing out its cached logsChris Austen2015-11-112-4/+13
|/ | | | renaming sent to dbus logs for debug
* Merge pull request #34 from causten/bettersensorsPatrick Williams2015-11-092-26/+58
|\ | | | | Fix bugs from test runs
| * Fix bugs from test runsChris Austen2015-11-072-26/+58
| | | | | | | | | | | | POST and FW Boot progres where not getting set on DBUS Memory and CPU faults now show up on DBUS OS Boot Status was never sent
* | Merge pull request #33 from anoo1/getidPatrick Williams2015-11-091-5/+12
|\ \ | |/ |/| Get UUID from dbus property instead of method
| * Get UUID from dbus property instead of methodAdriana Kobylak2015-11-051-5/+12
|/ | | | | | On the dbus side, the UUID was moved to being a property, and the GetID method was removed. So need to update the IPMI side to read the property value instead of calling the GetID method.
* Merge pull request #29 from causten/faultsensorPatrick Williams2015-10-311-4/+4
|\ | | | | remove False from fault property when nothing wrong
| * remove False from fault property when nothing wrongChris Austen2015-10-311-4/+4
| |
* | Merge pull request #30 from causten/eseladdPatrick Williams2015-10-311-1/+1
|\ \ | | | | | | add sel not sending log
| * | add sel not sending logChris Austen2015-10-311-1/+1
| |/
* | Merge pull request #31 from causten/newfruimplementationPatrick Williams2015-10-312-70/+0
|\ \ | |/ |/| Remove ipmi fru support from libapphandler
| * Remove ipmi fru support from libapphandlerChris Austen2015-10-312-70/+0
|/ | | | The new code will come from a different repo
* Merge pull request #26 from anoo1/lanPatrick Williams2015-10-304-10/+229
|\ | | | | IPMI support for get and set lan
| * IPMI support for get and set lanAdriana Kobylak2015-10-304-10/+229
|/ | | | | | Add enough support to query common network parameters and be able to setup the network vi IPMI. Use command line for now.
* Merge pull request #27 from causten/watchdogPatrick Williams2015-10-301-2/+2
|\ | | | | rename watchdog interface because it was renamed on the dbus side
| * rename watchdog interface because it was renamed on the dbus sideChris Austen2015-10-291-2/+2
| |
* | Merge pull request #28 from causten/errorlogsendingPatrick Williams2015-10-301-1/+1
|\ \ | |/ |/| resolved file not found for adding new log
| * resolved file not found for adding new logChris Austen2015-10-301-1/+1
|/
* Merge pull request #23 from jk-ozlabs/masterPatrick Williams2015-10-285-24/+26
|\ | | | | dbus interface fixes
| * ipmid: Fix crash on scandir failureJeremy Kerr2015-10-291-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Curently, if I have no ipmi_lib_path, ipmid crashes: $ ./ipmid Registering handler:[/usr/lib/host-ipmid/H��dH�%(] ERROR opening [/usr/lib/host-ipmid/H��dH�%(]: /usr/lib/host-ipmid/H��dH�%(: cannot open shared object file: No such file or directory *** Error in `./ipmid': munmap_chunk(): invalid pointer: 0x0000000000401eb6 *** Aborted (core dumped) We need to check for the error case of a scandir(). Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
| * ipmid: Use updated dbus HostIpmi interfaceJeremy Kerr2015-10-292-16/+17
| | | | | | | | | | | | | | | | | | | | | | With the updated HostIpmi dbus interface, netfns are not packed with LUNs, and the CC is separate from the data. This means we no longer have to define NETFN_* as arbitrarily shifted, and we have the added bonus of replying to messages where lun != 0. We may want to separate the CC returned from the handlers in future too. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
| * ipmid: Remove assumptions about host IPMI sender objectsJeremy Kerr2015-10-291-10/+8
| | | | | | | | | | | | | | | | | | | | | | | | Currently, the IPMI daemon will only receive messages from a specific (arbitrary) object path that the debug daemon used. Instead, we should be listening to any signal that matches our interface (org.openbmc.HostIpmi.ReceivedMessage). When replying to the message, we should be using the signal sender info to properly address the reply method. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
| * Remove executable permissions in source filesJeremy Kerr2015-10-294-0/+0
|/ | | | Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* Merge pull request #24 from williamspatrick/iana_todoPatrick Williams2015-10-281-7/+4
|\ | | | | Fix comments in IANA TODO.
| * Fix comments in IANA TODO.Patrick Williams2015-10-281-7/+4
| | | | | | | | Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* | Reduce prints to journald from ipmi but keep ability to traceChris Austen2015-10-282-40/+53
| | | | | | | | | | | | support for hex values with cli argument Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* | Allow esels to be sent to dbus event logChris Austen2015-10-288-19/+410
|/ | | | Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* Merge pull request #12 from anoo1/timestampPatrick Williams2015-10-282-26/+54
|\ | | | | Add get sel time cmd
| * Add get sel time cmdAdriana Kobylak2015-10-272-26/+54
| | | | | | | | Add support for IPMI function Get SEL Time
* | Merge pull request #13 from anoo1/uuidPatrick Williams2015-10-283-3/+97
|\ \ | |/ |/| 1Add Get Device UUID
| * Add Get Device UUIDAdriana Kobylak2015-10-273-3/+97
|/ | | | | Add support to get the UUID and return it in the specified format per the IPMI Spec 2.0
* Merge pull request #19 from causten/dynamic_lookupPatrick Williams2015-10-225-313/+269
|\ | | | | Added Dynamic lookup for sensor types
| * Added Dynamic lookup for sensor typesChris Austen2015-10-225-313/+269
| | | | | | | | | | | | | | Fixed bug where ipmi sensor readings > offset 7 where not asserted Added testcases for code Kept sensors 35,37-3A hardcoded until dbus side decides if they want to represent them.
* | Merge pull request #11 from anoo1/masterPatrick Williams2015-10-222-7/+25
|\ \ | | | | | | Add App Set BMC Global Enables ipmi cmd
| * | Add App Set BMC Global Enables ipmi cmdAdriana Kobylak2015-10-222-7/+25
| |/ | | | | | | Add support for the IPMI cmd Set BMC Global Enables
* | Merge pull request #21 from anoo1/watchdogPatrick Williams2015-10-221-2/+17
|\ \ | |/ |/| Support to stop the watchdog
| * Support to stop the watchdogAdriana Kobylak2015-10-221-2/+17
|/ | | | | Check the request flags for the set watchdog command to determine if the watchdog needs to be stopped or restarted.
* Merge pull request #16 from causten/oemenumPatrick Williams2015-10-211-1/+2
|\ | | | | Add OEM NETFN
OpenPOWER on IntegriCloud