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/src/EntityManager.cpp b/src/EntityManager.cpp
index 25cc86c..a7a9533 100644
--- a/src/EntityManager.cpp
+++ b/src/EntityManager.cpp
@@ -1254,7 +1254,7 @@
_passed = true;
PASSED_PROBES.push_back(probeName);
- size_t foundDeviceIdx = 0;
+ size_t foundDeviceIdx = 1;
for (auto& foundDevice : foundDevices)
{