summaryrefslogtreecommitdiffstats
path: root/meta-openbmc-machines
diff options
context:
space:
mode:
authorMarri Devender Rao <devenrao@in.ibm.com>2017-08-21 01:30:58 -0500
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2017-09-26 02:54:24 +0000
commit38c0d0b37a8d3b55e397fe7e26ddc7af243a39b7 (patch)
treeae8f74c67c05dfaaa53329a5db0b83d19cc01d07 /meta-openbmc-machines
parent1b3762aeea3f6a41c95a0f94a674121ea6118cc5 (diff)
downloadtalos-openbmc-38c0d0b37a8d3b55e397fe7e26ddc7af243a39b7.tar.gz
talos-openbmc-38c0d0b37a8d3b55e397fe7e26ddc7af243a39b7.zip
Inventory: Add type-only inventory interfaces to config files
Added object specific type-only interfaces to the host ipmi and vpd layout files. Applications can watch on these interfaces to determine if the interested inventory objects are created. Change-Id: Ibea36f07a5e3ee75f084e96ce1e45b3e5766e414 Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
Diffstat (limited to 'meta-openbmc-machines')
-rw-r--r--meta-openbmc-machines/meta-openpower/common/recipes-phosphor/ipmi/hostboot-inventory-config/config.yaml6
-rw-r--r--meta-openbmc-machines/meta-openpower/common/recipes-phosphor/vpd/openpower-fru-vpd-layout/layout.yaml4
2 files changed, 8 insertions, 2 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 717818466..7dada721b 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
@@ -25,6 +25,8 @@ PROC:
# Delimiter value in ascii as YAML parser
# was not allowing certain characters like ":" as value
IPMIFruValueDelimiter: "58"
+ xyz.openbmc_project.Inventory.Item.Cpu:
+
SYS:
Interfaces:
xyz.openbmc_project.Inventory.Decorator.Asset:
@@ -34,6 +36,7 @@ SYS:
SerialNumber:
IPMIFruSection: Chassis
IPMIFruProperty: "Serial Number"
+ xyz.openbmc_project.Inventory.Item.System:
NODE:
Interfaces:
@@ -54,6 +57,7 @@ NODE:
PrettyName:
IPMIFruSection: Board
IPMIFruProperty: "Name"
+ xyz.openbmc_project.Inventory.Item.Chassis:
AssociatedTypes:
- SYS
@@ -83,6 +87,7 @@ DIMM:
Version:
IPMIFruSection: Product
IPMIFruProperty: "Version"
+ xyz.openbmc_project.Inventory.Item.Dimm:
MEMBUFF:
Interfaces:
@@ -103,3 +108,4 @@ MEMBUFF:
PrettyName:
IPMIFruSection: Board
IPMIFruProperty: "Name"
+ xyz.openbmc_project.Inventory.Item.MemoryBuffer:
diff --git a/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/vpd/openpower-fru-vpd-layout/layout.yaml b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/vpd/openpower-fru-vpd-layout/layout.yaml
index eb7f827f3..b92005012 100644
--- a/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/vpd/openpower-fru-vpd-layout/layout.yaml
+++ b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/vpd/openpower-fru-vpd-layout/layout.yaml
@@ -7,9 +7,9 @@ BMC:
VINI,DR: PrettyName
xyz.openbmc_project.Common.UUID:
OPFR,UD: UUID
-
-
+ xyz.openbmc_project.Inventory.Item.Bmc:
ETHERNET:
xyz.openbmc_project.Inventory.Item.NetworkInterface:
VINI,B1: MACAddress
OPFR,B1: MACAddress
+ xyz.openbmc_project.Inventory.Item.Ethernet:
OpenPOWER on IntegriCloud