summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* manager: return abstract base typePatrick Venture2018-10-044-6/+5
| | | | | | | | Unit-tests later required knowing the vtable for a BlobManager, and this should avoid that needless complication. Change-Id: I7a208d08c2065b7383fd5095e00d17c1ab3b0cf5 Signed-off-by: Patrick Venture <venture@google.com>
* header: install test mock headersPatrick Venture2018-10-0424-31/+24
| | | | | | | | IPMI Blob handlers will need to include these mocks when building unit-tests. Therefore, they must be installed. Change-Id: I4c8ed0fa1a4a8912853c024206ef5e61f87707d8 Signed-off-by: Patrick Venture <venture@google.com>
* main: now seeks out shared library handlers are load-timePatrick Venture2018-10-014-26/+33
| | | | | | | | | phosphor-ipmi-blobs now detects blob handlers compiled into shared libraries on the BMC and loads them at start-up when it's loaded by phosphor-host-ipmid. Change-Id: Ib1b6b8f75aa544a263d37f71e133a9a188704de3 Signed-off-by: Patrick Venture <venture@google.com>
* utils: add methods for finding and loading handlersPatrick Venture2018-09-304-4/+64
| | | | | | | | This module provides a couple basic methods for enumerating and then loading handlers. Change-Id: I4f58be313190c48de25c2b9578b7c622afefc656 Signed-off-by: Patrick Venture <venture@google.com>
* manager: add getBlobManager as an exported methodPatrick Venture2018-09-273-5/+25
| | | | | | | | getBlobManager will allow a library to get ahold of the BlobManager for registration purposes. Change-Id: I75f41601d10d59293c7752da8307507cc2c88434 Signed-off-by: Patrick Venture <venture@google.com>
* example: fixup compilationPatrick Venture2018-09-272-1/+6
| | | | | | | The example handler had compilation errors. Change-Id: I53392b53f021bf01887559cee4bd79b2799f5730 Signed-off-by: Patrick Venture <venture@google.com>
* move blobs and manager header into installation dirPatrick Venture2018-09-2719-23/+27
| | | | | | | | The blobs and manager header will be used by handlers once we've transitioned to dynamic loading. Change-Id: Ieae8fcfe383007731cb4f8b2619612c3bfa47f50 Signed-off-by: Patrick Venture <venture@google.com>
* gitignore: add *.loPatrick Venture2018-09-271-0/+1
| | | | | | | Adds *.lo to the ignored files list. Change-Id: Iff18258584eec18f740ebe03815311c4245a4d96 Signed-off-by: Patrick Venture <venture@google.com>
* build: add ENABLE_EXAMPLE macro on enable-example conditionPatrick Venture2018-09-261-0/+4
| | | | | | | | | Previously, the ENABLE_EXAMPLE was only an AM_CONDITIONAL and therefore not passed down to the source environment via config.h. This fixes that. Change-Id: I8e02112f12c4aaef22eda76cc9e50b9bf7f32dda Signed-off-by: Patrick Venture <venture@google.com>
* build: drop systemd requirementPatrick Venture2018-09-211-1/+0
| | | | | | | The library currently does not require linking against systemd. Change-Id: I787e718b0b33bdd68aba4afc712a97dec97795aa Signed-off-by: Patrick Venture <venture@google.com>
* add example handlerPatrick Venture2018-09-205-1/+260
| | | | | | | | This adds an example handler to demonstrate how one can add a specific type of BLOB handler. Change-Id: Ib5421f1b945b45998b40d3939a4dab9cdf39aaa9 Signed-off-by: Patrick Venture <venture@google.com>
* Build as c++17Patrick Venture2018-09-151-1/+1
| | | | | | | Setting as separate patch to not require move until user is ready. Change-Id: Ia15de3ba1a4332dc51cc5539e895d7ab5ee072c7 Signed-off-by: Patrick Venture <venture@google.com>
* initial drop of phosphor-ipmi-blobsPatrick Venture2018-09-1544-0/+4369
| | | | | | | | This implements a majority of the OEM IPMI BLOBS protocol. The only piece missing from this is the timed expiration of sessions. Change-Id: I82c9d17b625c94fc3340edcfabbbf1ffeb5ad7ac Signed-off-by: Patrick Venture <venture@google.com>
* adds README.mdPatrick Venture2018-09-151-0/+344
| | | | | | | Adds the design document as a README for the project. Change-Id: Ida502441c0dd0fef7c9a63e9bee69122b7c7e24b Signed-off-by: Patrick Venture <venture@google.com>
* Initial commitBrad Bishop2018-09-121-0/+201
OpenPOWER on IntegriCloud