Implement VPD recollection
This commit implements functionality to recollect VPD for a hardware
by triggering VPD parser for that hardware in case there is a
replacement.
Signed-off-by: Sunny Srivastava <sunnsr25@in.ibm.com>
Change-Id: Ia0d377b554299faac3b46a4dc8dd96f964f07bd2
diff --git a/examples/inventory.json b/examples/inventory.json
index b5592cc..0101f21 100644
--- a/examples/inventory.json
+++ b/examples/inventory.json
@@ -26,6 +26,10 @@
},
"/sys/devices/path/to/bmc/eeprom": {
"inventoryPath": "/bus/path/for/bmcfru",
+ "isReplacable": true,
+ "driverType": "at24",
+ "devAddress": "8-0051",
+ "busType": "i2c",
"extraInterfaces": {
"xyz.openbmc_project.Inventory.Item.Bmc": null
}