Support for Storage schema for drives on redfish
This adds a new item for the drives since they have a separate schema
than the boards in redfish.
Also the enumeration starts from 1 instead of 0.
Tested:
Verified Entity Manager shows proper interface for drives and the using
the redfish schema patch, drives show up at proper schema location.
Signed-off-by: Nikhil Potade <nikhil.potade@linux.intel.com>
Change-Id: I07251f2f20f1d5539076570030ca9fc81bbe46d2
diff --git a/configurations/NVME P4000.json b/configurations/NVME P4000.json
index 3fe0ae3..da521cf 100644
--- a/configurations/NVME P4000.json
+++ b/configurations/NVME P4000.json
@@ -41,7 +41,7 @@
],
"Name": "NVMe $index",
"Probe": "xyz.openbmc_project.FruDevice({'PRODUCT_PRODUCT_NAME': 'P\\d{4}\\w?'})",
- "Type": "Board",
+ "Type": "Drive",
"xyz.openbmc_project.Inventory.Decorator.Asset": {
"Manufacturer": "$PRODUCT_MANUFACTURER",
"Model": "$PRODUCT_PRODUCT_NAME",