summaryrefslogtreecommitdiffstats
path: root/callouts
Commit message (Collapse)AuthorAgeFilesLines
* add .clang-formatPatrick Venture2018-10-261-10/+8
| | | | | Change-Id: I2c36b7886a25d0b235693b0776019d29608e1d52 Signed-off-by: Patrick Venture <venture@google.com>
* python3: iteritems does not existPatrick Williams2017-05-011-1/+1
| | | | | | | | | | Change iteritems to items, which is slightly slower on python2 but exists in both. None of the maps manipulated by this program are large enough for the items vs iteritems to be a concern. Change-Id: I63032ddde53a116431cc2cbe01828448a4d4f328 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* Map sdbusplus exception to phosphor exceptionDeepak Kodihalli2017-03-151-1/+2
| | | | | | | | | | | | | Errors will be created by using the sdbusplus error types, which results in an sdbusplus exception being thrown. Error metadata can be verified at compile-time by checking the error against phosphor-logging error types. This commit maps the sdbusplus error type to the phosphor type, for this purpose, via template specializations. Change-Id: Iee37e2a3846cc3acf3a62270a520ff0c395fd36d Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
* test: add callout-testDeepak Kodihalli2017-03-151-0/+32
| | | | | | | | Add test program which can create callouts based on an input device path. It creates an error, with callouts, with name TestCallout. Change-Id: I96b66b73ae4a9c00daff06222841a13747c07408 Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
* callouts: add script to generate callout mappingsDeepak Kodihalli2017-03-152-0/+55
| | | | | | | | Add a script that can generate callout mappings. The script needs an input YAML to denote callout mappings. Add an example YAML. Change-Id: I7b49fe4c586bf7abfed2865cfd776de4d5745ef5 Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
* callouts: add example output YAMLDeepak Kodihalli2017-03-151-0/+1
YAML is of the form: <sysfs device path>: <inventory path to be called out> This will help generate code to map device paths to inventory objects. Change-Id: I5613e766d0c6b39d9b2c4a6146a747ab321555cb Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
OpenPOWER on IntegriCloud