U-boot inventory update, updated PROPERTY
Updated PROPERTY value in both io_board file to MACAddress
and motherboard to uuid. Updated obmc-sync-inventory-item@.service
input parameters.
Change-Id: I5cc34ff449116d647331656bd81b2e4b07d3ea41
Signed-off-by: Dinesh Chinari <chinari@us.ibm.com>
diff --git a/meta-barreleye/recipes-phosphor/chassis/obmc-mgr-inventory%.bbappend b/meta-barreleye/recipes-phosphor/chassis/obmc-mgr-inventory%.bbappend
index aeb3dd3..3d324a1 100644
--- a/meta-barreleye/recipes-phosphor/chassis/obmc-mgr-inventory%.bbappend
+++ b/meta-barreleye/recipes-phosphor/chassis/obmc-mgr-inventory%.bbappend
@@ -1,6 +1,6 @@
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
-NAMES = "io_board motherboard"
+NAMES = "io_board/bmc/ethernet motherboard"
ITEMSFMT = "system/chassis/{0}"
ITEMS_ESCAPEDFMT = "system-chassis-{0}"
diff --git a/meta-barreleye/recipes-phosphor/chassis/obmc-mgr-inventory%/obmc/sync_inventory_item/system/chassis/io_board b/meta-barreleye/recipes-phosphor/chassis/obmc-mgr-inventory%/obmc/sync_inventory_item/system/chassis/io_board
deleted file mode 100644
index 5a1d94a..0000000
--- a/meta-barreleye/recipes-phosphor/chassis/obmc-mgr-inventory%/obmc/sync_inventory_item/system/chassis/io_board
+++ /dev/null
@@ -1,4 +0,0 @@
-FRU_TYPE=DAUGHTER_CARD
-FRU_NAME=io_board
-PROPERTY="Custom Field 2"
-SYNC_TYPE=mac
diff --git a/meta-barreleye/recipes-phosphor/chassis/obmc-mgr-inventory%/obmc/sync_inventory_item/system/chassis/io_board/bmc/ethernet b/meta-barreleye/recipes-phosphor/chassis/obmc-mgr-inventory%/obmc/sync_inventory_item/system/chassis/io_board/bmc/ethernet
new file mode 100644
index 0000000..722e0e6
--- /dev/null
+++ b/meta-barreleye/recipes-phosphor/chassis/obmc-mgr-inventory%/obmc/sync_inventory_item/system/chassis/io_board/bmc/ethernet
@@ -0,0 +1,2 @@
+PROPERTY="MACAddress"
+SYNC_TYPE=mac
diff --git a/meta-barreleye/recipes-phosphor/chassis/obmc-mgr-inventory%/obmc/sync_inventory_item/system/chassis/motherboard b/meta-barreleye/recipes-phosphor/chassis/obmc-mgr-inventory%/obmc/sync_inventory_item/system/chassis/motherboard
index bc632f4..95abbc8 100644
--- a/meta-barreleye/recipes-phosphor/chassis/obmc-mgr-inventory%/obmc/sync_inventory_item/system/chassis/motherboard
+++ b/meta-barreleye/recipes-phosphor/chassis/obmc-mgr-inventory%/obmc/sync_inventory_item/system/chassis/motherboard
@@ -1,4 +1,2 @@
-FRU_TYPE=MAIN_PLANAR
-FRU_NAME=motherboard
-PROPERTY="Custom Field 1"
+PROPERTY="UUID"
SYNC_TYPE=uuid
diff --git a/meta-barreleye/recipes-phosphor/ipmi/barreleye-ipmi-inventory-map/config.yaml b/meta-barreleye/recipes-phosphor/ipmi/barreleye-ipmi-inventory-map/config.yaml
index d337577..ff61518 100644
--- a/meta-barreleye/recipes-phosphor/ipmi/barreleye-ipmi-inventory-map/config.yaml
+++ b/meta-barreleye/recipes-phosphor/ipmi/barreleye-ipmi-inventory-map/config.yaml
@@ -1055,10 +1055,16 @@
BuildDate:
IPMIFruSection: Board
IPMIFruProperty: Mfg Date
+ /system/chassis/io_board/bmc/ethernet:
xyz.openbmc_project.Inventory.Item.NetworkInterface:
MACAddress:
IPMIFruSection: Board
IPMIFruProperty: Custom Field 2
+ xyz.openbmc_project.Inventory.Item:
+ PrettyName:
+ IPMIFruSection: Board
+ IPMIFruProperty: Name
+
101:
/system/chassis/sas_expander: