summaryrefslogtreecommitdiffstats
path: root/meta-openbmc-machines
diff options
context:
space:
mode:
authorRatan Gupta <ratagupt@in.ibm.com>2017-03-31 19:08:16 +0530
committerPatrick Williams <patrick@stwcx.xyz>2017-04-04 03:33:49 +0000
commit36e80541637f4d460483b265d1c74991e3f59693 (patch)
treeacaf7fb1397fea2a0f523666a602e2f43e4bb60f /meta-openbmc-machines
parent3dfd7e8c8d9632635ee3a79dcf39826393608fa2 (diff)
downloadtalos-openbmc-36e80541637f4d460483b265d1c74991e3f59693.tar.gz
talos-openbmc-36e80541637f4d460483b265d1c74991e3f59693.zip
Inventory: Build inventory with eeprom vpd
Resolves openbmc/openbmc#665 Change-Id: Iccbb20c8600fb0bf52f6fda433a8853d9cf423d4 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
Diffstat (limited to 'meta-openbmc-machines')
-rw-r--r--meta-openbmc-machines/meta-openpower/meta-rackspace/meta-barreleye/recipes-phosphor/ipmi/barreleye-ipmi-inventory-map/config.yaml64
-rw-r--r--meta-openbmc-machines/meta-openpower/meta-rackspace/meta-barreleye/recipes-phosphor/ipmi/phosphor-ipmi-fru-properties%/extra-properties.yaml23
2 files changed, 87 insertions, 0 deletions
diff --git a/meta-openbmc-machines/meta-openpower/meta-rackspace/meta-barreleye/recipes-phosphor/ipmi/barreleye-ipmi-inventory-map/config.yaml b/meta-openbmc-machines/meta-openpower/meta-rackspace/meta-barreleye/recipes-phosphor/ipmi/barreleye-ipmi-inventory-map/config.yaml
index ea2ca445d..cc8abc1a0 100644
--- a/meta-openbmc-machines/meta-openpower/meta-rackspace/meta-barreleye/recipes-phosphor/ipmi/barreleye-ipmi-inventory-map/config.yaml
+++ b/meta-openbmc-machines/meta-openpower/meta-rackspace/meta-barreleye/recipes-phosphor/ipmi/barreleye-ipmi-inventory-map/config.yaml
@@ -1039,3 +1039,67 @@
Version:
IPMIFruProperty: Version
+100:
+ /system/chassis/io_board:
+ xyz.openbmc_project.Inventory.Item:
+ PrettyName:
+ IPMIFruSection: Board
+ IPMIFruProperty: Name
+ xyz.openbmc_project.Inventory.Decorator.Asset:
+ PartNumber:
+ IPMIFruSection: Board
+ IPMIFruProperty: Part Number
+ SerialNumber:
+ IPMIFruSection: Board
+ IPMIFruProperty: Serial Number
+ Manufacturer:
+ IPMIFruSection: Board
+ IPMIFruProperty: Manufacturer
+ BuildDate:
+ IPMIFruSection: Board
+ IPMIFruProperty: Mfg Date
+ xyz.openbmc_project.Inventory.Item.NetworkInterface:
+ MACAddress:
+ IPMIFruSection: Board
+ IPMIFruProperty: Custom Field 2
+
+101:
+ /system/chassis/sas_expander:
+ xyz.openbmc_project.Inventory.Item:
+ PrettyName:
+ IPMIFruSection: Board
+ IPMIFruProperty: Name
+ xyz.openbmc_project.Inventory.Decorator.Asset:
+ PartNumber:
+ IPMIFruSection: Board
+ IPMIFruProperty: Part Number
+ SerialNumber:
+ IPMIFruSection: Board
+ IPMIFruProperty: Serial Number
+ Manufacturer:
+ IPMIFruSection: Board
+ IPMIFruProperty: Manufacturer
+ BuildDate:
+ IPMIFruSection: Board
+ IPMIFruProperty: Mfg Date
+
+102:
+ /system/chassis/hdd_backplane:
+ xyz.openbmc_project.Inventory.Item:
+ PrettyName:
+ IPMIFruSection: Board
+ IPMIFruProperty: Name
+ xyz.openbmc_project.Inventory.Decorator.Asset:
+ PartNumber:
+ IPMIFruSection: Board
+ IPMIFruProperty: Part Number
+ SerialNumber:
+ IPMIFruSection: Board
+ IPMIFruProperty: Serial Number
+ Manufacturer:
+ IPMIFruSection: Board
+ IPMIFruProperty: Manufacturer
+ BuildDate:
+ IPMIFruSection: Board
+ IPMIFruProperty: Mfg Date
+
diff --git a/meta-openbmc-machines/meta-openpower/meta-rackspace/meta-barreleye/recipes-phosphor/ipmi/phosphor-ipmi-fru-properties%/extra-properties.yaml b/meta-openbmc-machines/meta-openpower/meta-rackspace/meta-barreleye/recipes-phosphor/ipmi/phosphor-ipmi-fru-properties%/extra-properties.yaml
index 5b6005966..8addfd5f8 100644
--- a/meta-openbmc-machines/meta-openpower/meta-rackspace/meta-barreleye/recipes-phosphor/ipmi/phosphor-ipmi-fru-properties%/extra-properties.yaml
+++ b/meta-openbmc-machines/meta-openpower/meta-rackspace/meta-barreleye/recipes-phosphor/ipmi/phosphor-ipmi-fru-properties%/extra-properties.yaml
@@ -350,3 +350,26 @@
xyz.openbmc_project.Inventory.Item:
Present: 'true'
+/system/chassis/io_board:
+ xyz.openbmc_project.Inventory.Decorator.Replaceable:
+ FieldReplaceable: 'true'
+ xyz.openbmc_project.Inventory.Decorator.Cacheable:
+ Cached: 'false'
+ xyz.openbmc_project.Inventory.Item:
+ Present: 'true'
+
+/system/chassis/hdd_backplane:
+ xyz.openbmc_project.Inventory.Decorator.Replaceable:
+ FieldReplaceable: 'true'
+ xyz.openbmc_project.Inventory.Decorator.Cacheable:
+ Cached: 'false'
+ xyz.openbmc_project.Inventory.Item:
+ Present: 'true'
+
+/system/chassis/sas_expander:
+ xyz.openbmc_project.Inventory.Decorator.Replaceable:
+ FieldReplaceable: 'true'
+ xyz.openbmc_project.Inventory.Decorator.Cacheable:
+ Cached: 'false'
+ xyz.openbmc_project.Inventory.Item:
+ Present: 'true'
OpenPOWER on IntegriCloud