Move VPD jsons to vpd repo
Replace jsons from ibm_vpd folder to config/ and install json via
meson.
Signed-off-by: RekhaAparna01<vrekhaaparna@ibm.com>
Change-Id: I30240e820a50653d325b5dd56cf09f775af29812
diff --git a/config/ibm/vpd_inventory.json b/config/ibm/vpd_inventory.json
new file mode 100644
index 0000000..9db972b
--- /dev/null
+++ b/config/ibm/vpd_inventory.json
@@ -0,0 +1,85 @@
+{
+ "commonInterfaces": {
+ "xyz.openbmc_project.Inventory.Decorator.Asset": {
+ "PartNumber": {
+ "recordName": "VINI",
+ "keywordName": "PN"
+ },
+ "SerialNumber": {
+ "recordName": "VINI",
+ "keywordName": "SN"
+ },
+ "SparePartNumber": {
+ "recordName": "VINI",
+ "keywordName": "FN"
+ },
+ "Model": {
+ "recordName": "VINI",
+ "keywordName": "CC"
+ },
+ "BuildDate": {
+ "recordName": "VR10",
+ "keywordName": "DC",
+ "encoding": "DATE"
+ }
+ },
+ "xyz.openbmc_project.Inventory.Item": {
+ "PrettyName": {
+ "recordName": "VINI",
+ "keywordName": "DR"
+ },
+ "Present": true
+ }
+ },
+ "frus": {
+ "/sys/bus/i2c/drivers/at24/8-0050/eeprom": [
+ {
+ "inventoryPath": "/system/chassis/motherboard",
+ "isSystemVpd": true,
+ "extraInterfaces": {
+ "xyz.openbmc_project.Inventory.Item.Board.Motherboard": null,
+ "com.ibm.ipzvpd.Location": {
+ "LocationCode": "Ufcs-P0"
+ }
+ }
+ },
+ {
+ "inventoryPath": "/system",
+ "inherit": false,
+ "isSystemVpd": true,
+ "copyRecords": ["VSYS"],
+ "extraInterfaces": {
+ "xyz.openbmc_project.Inventory.Item.System": null,
+ "xyz.openbmc_project.Inventory.Decorator.Asset": {
+ "SerialNumber": {
+ "recordName": "VSYS",
+ "keywordName": "SE"
+ },
+ "Model": {
+ "recordName": "VSYS",
+ "keywordName": "TM"
+ },
+ "SubModel": {
+ "recordName": "VSYS",
+ "keywordName": "BR"
+ }
+ },
+ "com.ibm.ipzvpd.Location": {
+ "LocationCode": "Umts"
+ }
+ }
+ },
+ {
+ "inventoryPath": "/system/chassis",
+ "inherit": false,
+ "isSystemVpd": true,
+ "extraInterfaces": {
+ "xyz.openbmc_project.Inventory.Item.Chassis": null,
+ "com.ibm.ipzvpd.Location": {
+ "LocationCode": "Ufcs"
+ }
+ }
+ }
+ ]
+ }
+}