Home
last modified time | relevance | path

Searched hist:"8 e140a1c" (Results 1 – 1 of 1) sorted by relevance

/openbmc/openpower-vpd-parser/
H A Dibm_vpd_app.cpp8e140a1c Mon Apr 13 08:54:03 CDT 2020 PriyangaRamasamy <priyanga24@in.ibm.com> Prime the Inventory VPD objects

At the time of collecting the system vpd, prime those non system vpd
inventory objects by populating only certain properites of the objects
(like - Location code, Type interface and the inventory object).

Test:
Tested on simics by adding a missing fru in inventory json
and introspecting it to get the primed version of the object.

Output:

root@rainier:/tmp# busctl introspect xyz.openbmc_project.Inventory.Manager /xyz/openbmc_project/inventory/system/chassis/motherboard/dasd_card_pyramid0
NAME TYPE SIGNATURE RESULT/VALUE FLAGS
com.ibm.ipzvpd.Location interface - - -
.LocationCode property s "U78DA.ND1.1234567-P1" emits-change writable
org.freedesktop.DBus.Introspectable interface - - -
.Introspect method - s -
org.freedesktop.DBus.Peer interface - - -
.GetMachineId method - s -
.Ping method - - -
org.freedesktop.DBus.Properties interface - - -
.Get method ss v -
.GetAll method s a{sv} -
.Set method ssv - -
.PropertiesChanged signal sa{sv}as - -
xyz.openbmc_project.Inventory.Item.DiskBackplane interface - - -

Tested in conjunction with this commit
<https://gerrit.openbmc-project.xyz/c/openbmc/meta-ibm/+/31821>

Change-Id: I4bf44e47b7cd1206555c42de43002c6aa8424517
Signed-off-by: Priyanga Ramasamy <priyanga24@in.ibm.com>