Add configuration files for NVMe drives
This commit adds the configuration file for NVMe. This configuration uses
$index field to instantiate multiple drives of the same P4XXXX series present
in the system.
Signed-off-by: Nikhil Potade <nikhil.potade@linux.intel.com>
Change-Id: I34e96686d6873fe3a650850bbbaf4cc344377e82
diff --git a/configurations/NVME P4000.json b/configurations/NVME P4000.json
new file mode 100644
index 0000000..3fe0ae3
--- /dev/null
+++ b/configurations/NVME P4000.json
@@ -0,0 +1,51 @@
+{
+ "Exposes": [
+ {
+ "Address": "$address",
+ "Bus": "$bus",
+ "Name": "NVMe $index FRU",
+ "Type": "EEPROM"
+ },
+ {
+ "Address": "0x53",
+ "Bus": "$bus",
+ "Name": "NVMe $index Temp",
+ "Thresholds": [
+ {
+ "Direction": "greater than",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 115
+ },
+ {
+ "Direction": "greater than",
+ "Name": "upper non critical",
+ "Severity": 0,
+ "Value": 110
+ },
+ {
+ "Direction": "less than",
+ "Name": "lower non critical",
+ "Severity": 0,
+ "Value": 5
+ },
+ {
+ "Direction": "less than",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 0
+ }
+ ],
+ "Type": "NVME1000"
+ }
+ ],
+ "Name": "NVMe $index",
+ "Probe": "xyz.openbmc_project.FruDevice({'PRODUCT_PRODUCT_NAME': 'P\\d{4}\\w?'})",
+ "Type": "Board",
+ "xyz.openbmc_project.Inventory.Decorator.Asset": {
+ "Manufacturer": "$PRODUCT_MANUFACTURER",
+ "Model": "$PRODUCT_PRODUCT_NAME",
+ "PartNumber": "$PRODUCT_PART_NUMBER",
+ "SerialNumber": "$PRODUCT_SERIAL_NUMBER"
+ }
+}