commit | 0b33b34f8b4ca761b2daa700849ee4ed0a9e0551 | [log] [tgz] |
---|---|---|
author | Jinu Joy Thomas <jinu.joy.thomas@in.ibm.com> | Tue Feb 27 21:44:24 2024 -0600 |
committer | Jinu Joy Thomas <jinu.joy.thomas@in.ibm.com> | Wed Feb 28 09:30:22 2024 +0000 |
tree | 1acf48a294c5ecc62e862da6afecd5bc1ed639e2 | |
parent | b6079ecb67434aaff663f307c33652a681e89a03 [diff] |
VPD:collection: Fix BMC state check failure we use the BMC state to check if we need to do a recollection and in the case where the state manager is not up we get a failure. when we get a failure , since we do nto know the state we did not populate anything and so did not do a recollect , this caused certain preaction to not run and so some failure happened.we decided to set the state as not ready on any failure getting state so that the recollection will happen and we will have the preaction run. Change-Id: I7887a5d45ae21ae16035a29609b74bbc30dfcdc1 Signed-off-by: Jinu Joy Thomas <jinu.joy.thomas@in.ibm.com>
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.