configurations: add AssetTag interface
Add AssetTag and SparePartNumber
Change-Id: I0c88412d5bec5a67db30a257194c7188ceae38fb
Signed-off-by: Peter Yin <peter.yin@quantatw.com>
diff --git a/configurations/brcm_100g_1p_ocp_mezz.json b/configurations/brcm_100g_1p_ocp_mezz.json
index 090bdd2..d3cb955 100644
--- a/configurations/brcm_100g_1p_ocp_mezz.json
+++ b/configurations/brcm_100g_1p_ocp_mezz.json
@@ -40,6 +40,10 @@
"Manufacturer": "$BOARD_MANUFACTURER",
"Model": "$BOARD_PRODUCT_NAME",
"PartNumber": "$BOARD_PART_NUMBER",
- "SerialNumber": "$BOARD_SERIAL_NUMBER"
+ "SerialNumber": "$BOARD_SERIAL_NUMBER",
+ "SparePartNumber": "$BOARD_INFO_AM1"
+ },
+ "xyz.openbmc_project.Inventory.Decorator.AssetTag": {
+ "AssetTag": "$PRODUCT_ASSET_TAG"
}
}
diff --git a/configurations/cx7_ocp.json b/configurations/cx7_ocp.json
index 0968760..3f11519 100644
--- a/configurations/cx7_ocp.json
+++ b/configurations/cx7_ocp.json
@@ -40,6 +40,10 @@
"Manufacturer": "$BOARD_MANUFACTURER",
"Model": "$BOARD_PRODUCT_NAME",
"PartNumber": "$BOARD_PART_NUMBER",
- "SerialNumber": "$BOARD_SERIAL_NUMBER"
+ "SerialNumber": "$BOARD_SERIAL_NUMBER",
+ "SparePartNumber": "$BOARD_INFO_AM1"
+ },
+ "xyz.openbmc_project.Inventory.Decorator.AssetTag": {
+ "AssetTag": "$PRODUCT_ASSET_TAG"
}
}
diff --git a/configurations/harma_bsm.json b/configurations/harma_bsm.json
index d35bc51..136e2ab 100644
--- a/configurations/harma_bsm.json
+++ b/configurations/harma_bsm.json
@@ -17,5 +17,8 @@
"PartNumber": "$BOARD_PART_NUMBER",
"SerialNumber": "$BOARD_SERIAL_NUMBER",
"SparePartNumber": "$BOARD_INFO_AM1"
+ },
+ "xyz.openbmc_project.Inventory.Decorator.AssetTag": {
+ "AssetTag": "$PRODUCT_ASSET_TAG"
}
}
diff --git a/configurations/harma_mb.json b/configurations/harma_mb.json
index fe5de73..9a166ad 100644
--- a/configurations/harma_mb.json
+++ b/configurations/harma_mb.json
@@ -998,6 +998,9 @@
"SerialNumber": "$BOARD_SERIAL_NUMBER",
"SparePartNumber": "$BOARD_INFO_AM1"
},
+ "xyz.openbmc_project.Inventory.Decorator.AssetTag": {
+ "AssetTag": "$PRODUCT_ASSET_TAG"
+ },
"xyz.openbmc_project.Inventory.Item.Board.Motherboard": {
"ProductId": 1
}
diff --git a/configurations/harma_mb_vr_infineon.json b/configurations/harma_mb_vr_infineon.json
index 3a7fc74..c64b497 100644
--- a/configurations/harma_mb_vr_infineon.json
+++ b/configurations/harma_mb_vr_infineon.json
@@ -1013,5 +1013,8 @@
"PartNumber": "$BOARD_PART_NUMBER",
"SerialNumber": "$BOARD_SERIAL_NUMBER",
"SparePartNumber": "$BOARD_INFO_AM1"
+ },
+ "xyz.openbmc_project.Inventory.Decorator.AssetTag": {
+ "AssetTag": "$PRODUCT_ASSET_TAG"
}
}
diff --git a/configurations/harma_scm.json b/configurations/harma_scm.json
index 7bc47ff..3fbc0be 100644
--- a/configurations/harma_scm.json
+++ b/configurations/harma_scm.json
@@ -194,5 +194,8 @@
"PartNumber": "$BOARD_PART_NUMBER",
"SerialNumber": "$BOARD_SERIAL_NUMBER",
"SparePartNumber": "$BOARD_INFO_AM1"
+ },
+ "xyz.openbmc_project.Inventory.Decorator.AssetTag": {
+ "AssetTag": "$PRODUCT_ASSET_TAG"
}
}
diff --git a/configurations/minerva_pdb.json b/configurations/minerva_pdb.json
index d02e312..1d9498c 100644
--- a/configurations/minerva_pdb.json
+++ b/configurations/minerva_pdb.json
@@ -164,5 +164,8 @@
"PartNumber": "$BOARD_PART_NUMBER",
"SerialNumber": "$BOARD_SERIAL_NUMBER",
"SparePartNumber": "$BOARD_INFO_AM1"
+ },
+ "xyz.openbmc_project.Inventory.Decorator.AssetTag": {
+ "AssetTag": "$PRODUCT_ASSET_TAG"
}
}
diff --git a/configurations/minerva_pttv.json b/configurations/minerva_pttv.json
index d0af00e..55c8d8c 100644
--- a/configurations/minerva_pttv.json
+++ b/configurations/minerva_pttv.json
@@ -403,5 +403,8 @@
"PartNumber": "$BOARD_PART_NUMBER",
"SerialNumber": "$BOARD_SERIAL_NUMBER",
"SparePartNumber": "$BOARD_INFO_AM1"
+ },
+ "xyz.openbmc_project.Inventory.Decorator.AssetTag": {
+ "AssetTag": "$PRODUCT_ASSET_TAG"
}
}
diff --git a/configurations/minerva_sitv.json b/configurations/minerva_sitv.json
index 1fab01f..1c2d155 100644
--- a/configurations/minerva_sitv.json
+++ b/configurations/minerva_sitv.json
@@ -36,5 +36,8 @@
"PartNumber": "$BOARD_PART_NUMBER",
"SerialNumber": "$BOARD_SERIAL_NUMBER",
"SparePartNumber": "$BOARD_INFO_AM1"
+ },
+ "xyz.openbmc_project.Inventory.Decorator.AssetTag": {
+ "AssetTag": "$PRODUCT_ASSET_TAG"
}
}