Add Bus And Index to NVME base interface
This will help other daemons know where this drive
is attached without having to go to the sensor
interfaces.
Change-Id: I48c7d28b8234d4c7dea44559f885f8ccdfeb8907
Signed-off-by: James Feist <james.feist@linux.intel.com>
diff --git a/configurations/NVME P4000.json b/configurations/NVME P4000.json
index 22349d4..1abd61c 100644
--- a/configurations/NVME P4000.json
+++ b/configurations/NVME P4000.json
@@ -1,4 +1,5 @@
{
+ "Bus": "$bus",
"Exposes": [
{
"Address": "$address",
@@ -39,6 +40,7 @@
"Type": "NVME1000"
}
],
+ "Index": "$index",
"Name": "NVMe $index",
"Probe": "xyz.openbmc_project.FruDevice({'PRODUCT_PRODUCT_NAME': 'P\\d{4}\\w?'})",
"Type": "Drive",
@@ -48,4 +50,4 @@
"PartNumber": "$PRODUCT_PART_NUMBER",
"SerialNumber": "$PRODUCT_SERIAL_NUMBER"
}
-}
\ No newline at end of file
+}