From 225b38a8ce120036b212e3d1dc3460e172695827 Mon Sep 17 00:00:00 2001 From: Ratan Gupta Date: Tue, 8 May 2018 23:31:13 -0500 Subject: FRU: Add Entity ID in the host FRU inventory yaml This commit also adds the entityID and entityInstance property for BMC FRUS config yaml. These attributes are required to pass it through Get SDR command. Currently we support two types of record format through Get SDR 1) FULL Record. 2) FRU Record. Resolves openbmc/openbmc#2823 Change-Id: Ie7424fbc493dde5070a2c65c74ba83565154b9d4 Signed-off-by: Ratan Gupta --- .../recipes-phosphor/ipmi/hostboot-inventory-config/config.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/ipmi/hostboot-inventory-config/config.yaml b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/ipmi/hostboot-inventory-config/config.yaml index 7dada721b..39b6f3266 100644 --- a/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/ipmi/hostboot-inventory-config/config.yaml +++ b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/ipmi/hostboot-inventory-config/config.yaml @@ -1,4 +1,5 @@ PROC: + EntityID: 3 Interfaces: xyz.openbmc_project.Inventory.Decorator.Asset: BuildDate: @@ -28,6 +29,8 @@ PROC: xyz.openbmc_project.Inventory.Item.Cpu: SYS: + # same entity ID as it is Associated type of NODE + EntityID: 7 Interfaces: xyz.openbmc_project.Inventory.Decorator.Asset: Model: @@ -39,6 +42,7 @@ SYS: xyz.openbmc_project.Inventory.Item.System: NODE: + EntityID: 7 Interfaces: xyz.openbmc_project.Inventory.Decorator.Asset: BuildDate: @@ -62,6 +66,7 @@ NODE: - SYS DIMM: + EntityID: 32 Interfaces: xyz.openbmc_project.Inventory.Decorator.Asset: BuildDate: @@ -90,6 +95,7 @@ DIMM: xyz.openbmc_project.Inventory.Item.Dimm: MEMBUFF: + EntityID: 8 Interfaces: xyz.openbmc_project.Inventory.Decorator.Asset: BuildDate: -- cgit v1.2.1