commit | 1bb8716b2df2c40a0a3f33d4bcffaf8a30f41438 | [log] [tgz] |
---|---|---|
author | Sunny Srivastava <sunnsr25@in.ibm.com> | Tue Feb 13 00:09:09 2024 -0600 |
committer | Jinu Joy Thomas <jinu.joy.thomas@in.ibm.com> | Wed Feb 14 13:08:03 2024 +0000 |
tree | 2abbe309bd22502adf80397eaa644df5db99302c | |
parent | df5a0eb1cdf8cb4ebd6977d488c9a8f4dd42dddd [diff] |
Publish all EI while priming inventory The change is to publish all the interfaces marked as extra interfaces in config JSONs while priming the inventory. The change was done so that code can pick up any interfac eadded under extra interface without any change. Test: Inventory objects published all the interfaces listed under EI in the JSON. Change-Id: I6fedf5c98345faca864b1e1d8644f84b7dee7ae5 Signed-off-by: Sunny Srivastava <sunnsr25@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.