diff options
author | Ratan Gupta <ratagupt@in.ibm.com> | 2018-05-08 23:31:13 -0500 |
---|---|---|
committer | Raptor Engineering Development Team <support@raptorengineering.com> | 2018-05-08 23:31:13 -0500 |
commit | 225b38a8ce120036b212e3d1dc3460e172695827 (patch) | |
tree | c13107738c53b06a5fcea4c870f3d3ed34a11650 | |
parent | ebca6ea1e017817005fc1daca153d0089aea1ff6 (diff) | |
download | talos-openbmc-225b38a8ce120036b212e3d1dc3460e172695827.tar.gz talos-openbmc-225b38a8ce120036b212e3d1dc3460e172695827.zip |
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 <ratagupt@in.ibm.com>
-rw-r--r-- | meta-openbmc-machines/meta-openpower/common/recipes-phosphor/ipmi/hostboot-inventory-config/config.yaml | 6 |
1 files changed, 6 insertions, 0 deletions
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: |