Inventory: Map chassis fru data
Make the association for chassis.
Update mrw revision due to co-req with script changes.
Change-Id: I42ef9edbf9714d302d7afe2a0851f5ca6f2fe579
Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/common/recipes-phosphor/ipmi/hostboot-inventory-config/config.yaml b/common/recipes-phosphor/ipmi/hostboot-inventory-config/config.yaml
index a03e275..2c7f8ee 100644
--- a/common/recipes-phosphor/ipmi/hostboot-inventory-config/config.yaml
+++ b/common/recipes-phosphor/ipmi/hostboot-inventory-config/config.yaml
@@ -1,89 +1,108 @@
PROC:
- xyz.openbmc_project.Inventory.Decorator.Asset:
- BuildDate:
- IPMIFruSection: Board
- IPMIFruProperty: "Mfg Date"
- Manufacturer:
- IPMIFruSection: Board
- IPMIFruProperty: "Manufacturer"
- PartNumber:
- IPMIFruSection: Board
- IPMIFruProperty: "Part Number"
- SerialNumber:
- IPMIFruSection: Board
- IPMIFruProperty: "Serial Number"
- xyz.openbmc_project.Inventory.Item:
- PrettyName:
- IPMIFruSection: Board
- IPMIFruProperty: "Name"
- xyz.openbmc_project.Inventory.Decorator.Revision:
- Version:
- IPMIFruSection: Board
- # Custom Field 2 is EC.
- IPMIFruProperty: "Custom Field 2"
- # Delimiter value in ascii as YAML parser
- # was not allowing certain characters like ":" as value
- IPMIFruValueDelimiter: "58"
-
+ Interfaces:
+ xyz.openbmc_project.Inventory.Decorator.Asset:
+ BuildDate:
+ IPMIFruSection: Board
+ IPMIFruProperty: "Mfg Date"
+ Manufacturer:
+ IPMIFruSection: Board
+ IPMIFruProperty: "Manufacturer"
+ PartNumber:
+ IPMIFruSection: Board
+ IPMIFruProperty: "Part Number"
+ SerialNumber:
+ IPMIFruSection: Board
+ IPMIFruProperty: "Serial Number"
+ xyz.openbmc_project.Inventory.Item:
+ PrettyName:
+ IPMIFruSection: Board
+ IPMIFruProperty: "Name"
+ xyz.openbmc_project.Inventory.Decorator.Revision:
+ Version:
+ IPMIFruSection: Board
+ # Custom Field 2 is EC.
+ IPMIFruProperty: "Custom Field 2"
+ # Delimiter value in ascii as YAML parser
+ # was not allowing certain characters like ":" as value
+ IPMIFruValueDelimiter: "58"
SYS:
- xyz.openbmc_project.Inventory.Decorator.Asset:
- BuildDate:
- IPMIFruSection: Board
- IPMIFruProperty: "Mfg Date"
- Manufacturer:
- IPMIFruSection: Board
- IPMIFruProperty: "Manufacturer"
- PartNumber:
- IPMIFruSection: Board
- IPMIFruProperty: "Part Number"
- SerialNumber:
- IPMIFruSection: Board
- IPMIFruProperty: "Serial Number"
- xyz.openbmc_project.Inventory.Item:
- PrettyName:
- IPMIFruSection: Board
- IPMIFruProperty: "Name"
+ Interfaces:
+ xyz.openbmc_project.Inventory.Decorator.Asset:
+ PartNumber:
+ IPMIFruSection: Chassis
+ IPMIFruProperty: "Part Number"
+ SerialNumber:
+ IPMIFruSection: Chassis
+ IPMIFruProperty: "Serial Number"
+ Model:
+ IPMIFruSection: Chassis
+ IPMIFruProperty: "Type"
+
+NODE:
+ Interfaces:
+ xyz.openbmc_project.Inventory.Decorator.Asset:
+ BuildDate:
+ IPMIFruSection: Board
+ IPMIFruProperty: "Mfg Date"
+ Manufacturer:
+ IPMIFruSection: Board
+ IPMIFruProperty: "Manufacturer"
+ PartNumber:
+ IPMIFruSection: Board
+ IPMIFruProperty: "Part Number"
+ SerialNumber:
+ IPMIFruSection: Board
+ IPMIFruProperty: "Serial Number"
+ xyz.openbmc_project.Inventory.Item:
+ PrettyName:
+ IPMIFruSection: Board
+ IPMIFruProperty: "Name"
+ AssociatedTypes:
+ - SYS
+
DIMM:
- xyz.openbmc_project.Inventory.Decorator.Asset:
- BuildDate:
- IPMIFruSection: Product
- IPMIFruProperty: "Mfg Date"
- Manufacturer:
- IPMIFruSection: Product
- IPMIFruProperty: "Manufacturer"
- PartNumber:
- IPMIFruSection: Product
- IPMIFruProperty: "Part Number"
- SerialNumber:
- IPMIFruSection: Product
- IPMIFruProperty: "Serial Number"
- Model:
- IPMIFruSection: Product
- IPMIFruProperty: "Model Number"
- xyz.openbmc_project.Inventory.Item:
- PrettyName:
- IPMIFruSection: Product
- IPMIFruProperty: "Name"
- xyz.openbmc_project.Inventory.Decorator.Revision:
- Version:
- IPMIFruSection: Product
- IPMIFruProperty: "Version"
+ Interfaces:
+ xyz.openbmc_project.Inventory.Decorator.Asset:
+ BuildDate:
+ IPMIFruSection: Product
+ IPMIFruProperty: "Mfg Date"
+ Manufacturer:
+ IPMIFruSection: Product
+ IPMIFruProperty: "Manufacturer"
+ PartNumber:
+ IPMIFruSection: Product
+ IPMIFruProperty: "Part Number"
+ SerialNumber:
+ IPMIFruSection: Product
+ IPMIFruProperty: "Serial Number"
+ Model:
+ IPMIFruSection: Product
+ IPMIFruProperty: "Model Number"
+ xyz.openbmc_project.Inventory.Item:
+ PrettyName:
+ IPMIFruSection: Product
+ IPMIFruProperty: "Name"
+ xyz.openbmc_project.Inventory.Decorator.Revision:
+ Version:
+ IPMIFruSection: Product
+ IPMIFruProperty: "Version"
MEMBUFF:
- xyz.openbmc_project.Inventory.Decorator.Asset:
- BuildDate:
- IPMIFruSection: Board
- IPMIFruProperty: "Mfg Date"
- Manufacturer:
- IPMIFruSection: Board
- IPMIFruProperty: "Manufacturer"
- PartNumber:
- IPMIFruSection: Board
- IPMIFruProperty: "Part Number"
- SerialNumber:
- IPMIFruSection: Board
- IPMIFruProperty: "Serial Number"
- xyz.openbmc_project.Inventory.Item:
- PrettyName:
- IPMIFruSection: Board
- IPMIFruProperty: "Name"
+ Interfaces:
+ xyz.openbmc_project.Inventory.Decorator.Asset:
+ BuildDate:
+ IPMIFruSection: Board
+ IPMIFruProperty: "Mfg Date"
+ Manufacturer:
+ IPMIFruSection: Board
+ IPMIFruProperty: "Manufacturer"
+ PartNumber:
+ IPMIFruSection: Board
+ IPMIFruProperty: "Part Number"
+ SerialNumber:
+ IPMIFruSection: Board
+ IPMIFruProperty: "Serial Number"
+ xyz.openbmc_project.Inventory.Item:
+ PrettyName:
+ IPMIFruSection: Board
+ IPMIFruProperty: "Name"