Initial commit
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
SUMMARY = "Nicole Inventory config for openpower-vpd-parser"
|
||||
PR = "r1"
|
||||
LICENSE = "Apache-2.0"
|
||||
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
|
||||
|
||||
inherit openpower-fru-vpd
|
||||
inherit native
|
||||
|
||||
SRC_URI += "file://inventory"
|
||||
|
||||
PROVIDES += "virtual/openpower-fru-inventory"
|
||||
|
||||
S = "${WORKDIR}"
|
||||
|
||||
do_install() {
|
||||
DEST=${D}${inventory_datadir_native}
|
||||
install -d ${DEST}
|
||||
install inventory ${DEST}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
FRUS=BMC,ETHERNET
|
||||
PATHS=/system/chassis/bmc,/system/chassis/ethernet
|
||||
EEPROM=/sys/bus/i2c/devices/0-0050/eeprom
|
||||
@@ -0,0 +1,19 @@
|
||||
SUMMARY = "FRU properties config for openpower-vpd-parser"
|
||||
PR = "r1"
|
||||
LICENSE = "Apache-2.0"
|
||||
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
|
||||
|
||||
inherit openpower-fru-vpd
|
||||
inherit native
|
||||
|
||||
SRC_URI += "file://properties.yaml"
|
||||
|
||||
PROVIDES += "virtual/openpower-fru-properties"
|
||||
|
||||
S = "${WORKDIR}"
|
||||
|
||||
do_install() {
|
||||
DEST=${D}${properties_datadir}
|
||||
install -d ${DEST}
|
||||
install properties.yaml ${DEST}/out.yaml
|
||||
}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
/system/chassis/bmc:
|
||||
xyz.openbmc_project.Inventory.Item:
|
||||
Present: 'true'
|
||||
|
||||
/system/chassis/ethernet:
|
||||
xyz.openbmc_project.Inventory.Item:
|
||||
Present: 'true'
|
||||
@@ -0,0 +1,19 @@
|
||||
SUMMARY = "Nicole VPD layout for openpower-fru-vpd"
|
||||
PR = "r1"
|
||||
LICENSE = "Apache-2.0"
|
||||
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
|
||||
|
||||
inherit openpower-fru-vpd
|
||||
inherit native
|
||||
|
||||
SRC_URI += "file://layout.yaml"
|
||||
|
||||
PROVIDES += "virtual/openpower-fru-vpd-layout"
|
||||
|
||||
S = "${WORKDIR}"
|
||||
|
||||
do_install() {
|
||||
DEST=${D}${vpdlayout_datadir}
|
||||
install -d ${DEST}
|
||||
install layout.yaml ${DEST}
|
||||
}
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
BMC:
|
||||
xyz.openbmc_project.Inventory.Decorator.Asset:
|
||||
OPFR,VP: PartNumber
|
||||
OPFR,VS: SerialNumber
|
||||
OPFR,VN: Manufacturer
|
||||
OPFR,MB: BuildDate
|
||||
OPFR,DR: Model
|
||||
xyz.openbmc_project.Inventory.Item:
|
||||
VINI,DR: PrettyName
|
||||
xyz.openbmc_project.Inventory.Item.Bmc:
|
||||
ETHERNET:
|
||||
xyz.openbmc_project.Inventory.Item.NetworkInterface:
|
||||
OPFR,B1: MACAddress
|
||||
xyz.openbmc_project.Inventory.Item.Ethernet:
|
||||
|
After Width: | Height: | Size: 450 B |
Reference in New Issue
Block a user