commit | bc5994772d0c3ddff927284cecd3d98f2ce19141 | [log] [tgz] |
---|---|---|
author | Santosh Puranik <santosh.puranik@in.ibm.com> | Mon Dec 19 20:17:10 2022 +0530 |
committer | Santosh Puranik <santosh.puranik@in.ibm.com> | Tue Dec 20 11:57:11 2022 +0530 |
tree | 6f686d64eecfb01e54eb66c648d0df27c9d8f9ea | |
parent | 5ef6ccc0c74740f8c2cda6efdfc03fc3b3e4edea [diff] |
manager: Fixes to CM related APIs This commit fixes the following issues with manager APIs: -- Handle inventory paths with and without a inventory prefix. -- Properly handle GpioExceptions wherever postFailAction is called. -- Clean CCIN when deleteFRUVPD is called. This helps any EM config files that latch onto the CCIN to detect that the FRU is gone. Signed-off-by: Santosh Puranik <santosh.puranik@in.ibm.com> Change-Id: I6bde9c906e8d51edc9f7d0fabcac12af3dc44e0b
This repository hosts code for OpenPower and IBM IPZ format VPD parsers. Both OpenPower VPD and IPZ VPD formats are structured binaries that consist of records and keywords. A record is a collection of multiple keywords. More information about the format can be found here.
The repository consists of two distinct applications, which are:
This is a build-time YAML driven application that parses the OpenPower VPD format and uses the YAML configuration (see extra-properties-example.yaml and writefru.yaml) to determine:
The application instance must be passed in the file path to the VPD (this can, for example, be a sysfs path exposed by the EEPROM device driver) and also the D-Bus object path(s) that EEPROM data needs to be published under.
This parser is can be built by passing in the --enable-ibm-parser
configure option. This parser differs from the OpenPower VPD parser in the following ways:
#
and are > 255 bytes in length).Making the application runtime JSON driven allows us to support multiple systems (with different FRU configurations) to be supported in a single code image as well as making the application more flexible for future improvements.