commit | 495eedd1776d488ed871e19e1f4d52fc794de28f | [log] [tgz] |
---|---|---|
author | Souvik Roy <souvikroyofficial10@gmail.com> | Wed Jul 02 02:13:43 2025 -0500 |
committer | Souvik Roy <souvikroyofficial10@gmail.com> | Wed Jul 02 09:46:22 2025 -0500 |
tree | e551a76a61a220b47e42f053ed08e5526da83666 | |
parent | 5c3a15636c0368453d643924f6162e15c9ce5efd [diff] |
Listener:Implement Present property callback This commit implements Present property callback in Listener. For hotPluggable FRUs whose present property is toggled by external application based on their actual presence detection, vpd-manager needs to monitor "Present" property and collect/delete FRU VPD accordingly. Test: ``` - On Everest system, toggle Present property of fan0 from busctl - Observer callback getting triggered ``` Change-Id: Ia558306417adf18155b5b363fc9caa797bda250f Signed-off-by: Souvik Roy <souvikroyofficial10@gmail.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 at a broken link.
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.