| commit | 28ba36aa9ecc3b4e8f2c2f8b2821dd8ec8c83d78 | [log] [tgz] |
|---|---|---|
| author | Pavithra Barithaya <pavithrabarithaya07@gmail.com> | Thu Apr 24 16:36:18 2025 +0530 |
| committer | Pavithra Barithaya <pavithrabarithaya07@gmail.com> | Thu Dec 11 09:32:08 2025 +0000 |
| tree | c61d5b08a0edcee814992d3891512ffc913c6fbc | |
| parent | d237a65d3b12920963951310a015dddbcce03b40 [diff] |
fru: Function to remove the individual FRU Record When there is a concurrent maintenance operation a FRU can be removed or added. When the FRU is removed we must make sure that the associated FRU Record set PDRs, State Effecter PDRs, State Sensor PDRs, EntityAssociation PDRs need to be removed from the repository. This commit adds the function that does the required functionality. Tested: Removal of a FRU say a Fan by making the present property of the FRU as false. This action removes the corresponding FRURecordSet PDRs, State effecter PDRs, State sensor PDRs and also the Entity association PDRs from the repo. This also removes the node corresponding to that FRU from the entity association tree. This behavior is observed for other FRUs as well. Change-Id: I6c6e17e21807940ce6d4a230dbceafd9f7c5c958 Signed-off-by: Pavithra Barithaya <pavithrabarithaya07@gmail.com>
PLDM (Platform Level Data Model) is a key component of the OpenBMC project, providing a standardized data model and message formats for various platform management functionalities. It defines a method to manage, monitor, and control the firmware and hardware of a system.
The OpenBMC PLDM project aims to implement the specifications defined by the Distributed Management Task Force (DMTF), allowing for interoperable management interfaces across different hardware and firmware components.
To build and run PLDM, you need the following dependencies:
MesonNinjaAlternatively, source an OpenBMC ARM/x86 SDK.
To build the PLDM project, follow these steps:
meson setup build && meson compile -C build
The simplest way of running the tests is as described by the meson man page:
meson test -C build
Alternatively, tests can be run in the OpenBMC CI docker container using these steps.
pldm daemon accepts a command line argument --verbose or --v or -v to enable the daemon to run in verbose mode. It can be done via adding this option to the environment file that pldm service consumes.
echo 'PLDMD_ARGS="--verbose"' > /etc/default/pldmd systemctl restart pldmd
rm /etc/default/pldmd systemctl restart pldmd
For complete documentation on the functionality and usage of this repository, please refer to the docs folder.