Add Slot interface to all NVMe drives
Assign a slot number to all drive paths so that the entity manager
config file for IBM's drives can use that to give its objects unique
names. Previously it used its own incrementing index but sometimes got
confused and tried to put a duplicate interface on the same object path
which would crash.
This was already being done for IBM's cable card sensors.
Because the NVMe temperature sensor names are being hardcoded in other
places (fan control and HMC telemetry), the slots are being assigned to
always start at 1 and sequentially increment to keep the names the same
as before.
Tested:
Properties are on D-Bus:
```
busctl get-property xyz.openbmc_project.Inventory.Manager \
/xyz/openbmc_project/inventory/system/chassis/motherboard/disk_backplane0/nvme0/dp0_drive0 \
xyz.openbmc_project.Inventory.Decorator.Slot SlotNumber
u 1
```
Change-Id: Id83c5c4ea2aaae810bcd9c1120cef11fb0e7ba74
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
diff --git a/config/ibm/50001000.json b/config/ibm/50001000.json
index ebfff56..03f2ce8 100644
--- a/config/ibm/50001000.json
+++ b/config/ibm/50001000.json
@@ -2455,6 +2455,9 @@
"com.ibm.ipzvpd.Location": {
"LocationCode": "Ufcs-P1-C0"
},
+ "xyz.openbmc_project.Inventory.Decorator.Slot": {
+ "SlotNumber": 1
+ },
"xyz.openbmc_project.Inventory.Item": {
"PrettyName": "NVMe U.2 drive 0"
}
@@ -2490,6 +2493,9 @@
"com.ibm.ipzvpd.Location": {
"LocationCode": "Ufcs-P1-C1"
},
+ "xyz.openbmc_project.Inventory.Decorator.Slot": {
+ "SlotNumber": 2
+ },
"xyz.openbmc_project.Inventory.Item": {
"PrettyName": "NVMe U.2 drive 1"
}
@@ -2525,6 +2531,9 @@
"com.ibm.ipzvpd.Location": {
"LocationCode": "Ufcs-P1-C2"
},
+ "xyz.openbmc_project.Inventory.Decorator.Slot": {
+ "SlotNumber": 3
+ },
"xyz.openbmc_project.Inventory.Item": {
"PrettyName": "NVMe U.2 drive 2"
}
@@ -2560,6 +2569,9 @@
"com.ibm.ipzvpd.Location": {
"LocationCode": "Ufcs-P1-C3"
},
+ "xyz.openbmc_project.Inventory.Decorator.Slot": {
+ "SlotNumber": 4
+ },
"xyz.openbmc_project.Inventory.Item": {
"PrettyName": "NVMe U.2 drive 3"
}
@@ -2595,6 +2607,9 @@
"com.ibm.ipzvpd.Location": {
"LocationCode": "Ufcs-P1-C4"
},
+ "xyz.openbmc_project.Inventory.Decorator.Slot": {
+ "SlotNumber": 5
+ },
"xyz.openbmc_project.Inventory.Item": {
"PrettyName": "NVMe U.2 drive 4"
}
@@ -2630,6 +2645,9 @@
"com.ibm.ipzvpd.Location": {
"LocationCode": "Ufcs-P1-C5"
},
+ "xyz.openbmc_project.Inventory.Decorator.Slot": {
+ "SlotNumber": 6
+ },
"xyz.openbmc_project.Inventory.Item": {
"PrettyName": "NVMe U.2 drive 5"
}
@@ -2665,6 +2683,9 @@
"com.ibm.ipzvpd.Location": {
"LocationCode": "Ufcs-P1-C6"
},
+ "xyz.openbmc_project.Inventory.Decorator.Slot": {
+ "SlotNumber": 7
+ },
"xyz.openbmc_project.Inventory.Item": {
"PrettyName": "NVMe U.2 drive 6"
}
@@ -2700,6 +2721,9 @@
"com.ibm.ipzvpd.Location": {
"LocationCode": "Ufcs-P1-C7"
},
+ "xyz.openbmc_project.Inventory.Decorator.Slot": {
+ "SlotNumber": 8
+ },
"xyz.openbmc_project.Inventory.Item": {
"PrettyName": "NVMe U.2 drive 7"
}
@@ -2877,6 +2901,9 @@
"com.ibm.ipzvpd.Location": {
"LocationCode": "Ufcs-P2-C8"
},
+ "xyz.openbmc_project.Inventory.Decorator.Slot": {
+ "SlotNumber": 9
+ },
"xyz.openbmc_project.Inventory.Item": {
"PrettyName": "NVMe U.2 drive 8"
}
@@ -2911,6 +2938,9 @@
"com.ibm.ipzvpd.Location": {
"LocationCode": "Ufcs-P2-C9"
},
+ "xyz.openbmc_project.Inventory.Decorator.Slot": {
+ "SlotNumber": 10
+ },
"xyz.openbmc_project.Inventory.Item": {
"PrettyName": "NVMe U.2 drive 9"
}
@@ -2945,6 +2975,9 @@
"com.ibm.ipzvpd.Location": {
"LocationCode": "Ufcs-P2-C10"
},
+ "xyz.openbmc_project.Inventory.Decorator.Slot": {
+ "SlotNumber": 11
+ },
"xyz.openbmc_project.Inventory.Item": {
"PrettyName": "NVMe U.2 drive 10"
}
@@ -2979,6 +3012,9 @@
"com.ibm.ipzvpd.Location": {
"LocationCode": "Ufcs-P2-C11"
},
+ "xyz.openbmc_project.Inventory.Decorator.Slot": {
+ "SlotNumber": 12
+ },
"xyz.openbmc_project.Inventory.Item": {
"PrettyName": "NVMe U.2 drive 11"
}
@@ -3013,6 +3049,9 @@
"com.ibm.ipzvpd.Location": {
"LocationCode": "Ufcs-P2-C12"
},
+ "xyz.openbmc_project.Inventory.Decorator.Slot": {
+ "SlotNumber": 13
+ },
"xyz.openbmc_project.Inventory.Item": {
"PrettyName": "NVMe U.2 drive 12"
}
@@ -3047,6 +3086,9 @@
"com.ibm.ipzvpd.Location": {
"LocationCode": "Ufcs-P2-C13"
},
+ "xyz.openbmc_project.Inventory.Decorator.Slot": {
+ "SlotNumber": 14
+ },
"xyz.openbmc_project.Inventory.Item": {
"PrettyName": "NVMe U.2 drive 13"
}
@@ -3081,6 +3123,9 @@
"com.ibm.ipzvpd.Location": {
"LocationCode": "Ufcs-P2-C14"
},
+ "xyz.openbmc_project.Inventory.Decorator.Slot": {
+ "SlotNumber": 15
+ },
"xyz.openbmc_project.Inventory.Item": {
"PrettyName": "NVMe U.2 drive 14"
}
@@ -3115,6 +3160,9 @@
"com.ibm.ipzvpd.Location": {
"LocationCode": "Ufcs-P2-C15"
},
+ "xyz.openbmc_project.Inventory.Decorator.Slot": {
+ "SlotNumber": 16
+ },
"xyz.openbmc_project.Inventory.Item": {
"PrettyName": "NVMe U.2 drive 15"
}
diff --git a/config/ibm/50001000_v2.json b/config/ibm/50001000_v2.json
index f2c02e0..ed06dd0 100644
--- a/config/ibm/50001000_v2.json
+++ b/config/ibm/50001000_v2.json
@@ -2535,6 +2535,9 @@
"com.ibm.ipzvpd.Location": {
"LocationCode": "Ufcs-P1-C0"
},
+ "xyz.openbmc_project.Inventory.Decorator.Slot": {
+ "SlotNumber": 1
+ },
"xyz.openbmc_project.Inventory.Item": {
"PrettyName": "NVMe U.2 drive 0"
}
@@ -2570,6 +2573,9 @@
"com.ibm.ipzvpd.Location": {
"LocationCode": "Ufcs-P1-C1"
},
+ "xyz.openbmc_project.Inventory.Decorator.Slot": {
+ "SlotNumber": 2
+ },
"xyz.openbmc_project.Inventory.Item": {
"PrettyName": "NVMe U.2 drive 1"
}
@@ -2605,6 +2611,9 @@
"com.ibm.ipzvpd.Location": {
"LocationCode": "Ufcs-P1-C2"
},
+ "xyz.openbmc_project.Inventory.Decorator.Slot": {
+ "SlotNumber": 3
+ },
"xyz.openbmc_project.Inventory.Item": {
"PrettyName": "NVMe U.2 drive 2"
}
@@ -2640,6 +2649,9 @@
"com.ibm.ipzvpd.Location": {
"LocationCode": "Ufcs-P1-C3"
},
+ "xyz.openbmc_project.Inventory.Decorator.Slot": {
+ "SlotNumber": 4
+ },
"xyz.openbmc_project.Inventory.Item": {
"PrettyName": "NVMe U.2 drive 3"
}
@@ -2675,6 +2687,9 @@
"com.ibm.ipzvpd.Location": {
"LocationCode": "Ufcs-P1-C4"
},
+ "xyz.openbmc_project.Inventory.Decorator.Slot": {
+ "SlotNumber": 5
+ },
"xyz.openbmc_project.Inventory.Item": {
"PrettyName": "NVMe U.2 drive 4"
}
@@ -2710,6 +2725,9 @@
"com.ibm.ipzvpd.Location": {
"LocationCode": "Ufcs-P1-C5"
},
+ "xyz.openbmc_project.Inventory.Decorator.Slot": {
+ "SlotNumber": 6
+ },
"xyz.openbmc_project.Inventory.Item": {
"PrettyName": "NVMe U.2 drive 5"
}
@@ -2745,6 +2763,9 @@
"com.ibm.ipzvpd.Location": {
"LocationCode": "Ufcs-P1-C6"
},
+ "xyz.openbmc_project.Inventory.Decorator.Slot": {
+ "SlotNumber": 7
+ },
"xyz.openbmc_project.Inventory.Item": {
"PrettyName": "NVMe U.2 drive 6"
}
@@ -2780,6 +2801,9 @@
"com.ibm.ipzvpd.Location": {
"LocationCode": "Ufcs-P1-C7"
},
+ "xyz.openbmc_project.Inventory.Decorator.Slot": {
+ "SlotNumber": 8
+ },
"xyz.openbmc_project.Inventory.Item": {
"PrettyName": "NVMe U.2 drive 7"
}
@@ -2958,6 +2982,9 @@
"com.ibm.ipzvpd.Location": {
"LocationCode": "Ufcs-P2-C8"
},
+ "xyz.openbmc_project.Inventory.Decorator.Slot": {
+ "SlotNumber": 9
+ },
"xyz.openbmc_project.Inventory.Item": {
"PrettyName": "NVMe U.2 drive 8"
}
@@ -2993,6 +3020,9 @@
"com.ibm.ipzvpd.Location": {
"LocationCode": "Ufcs-P2-C9"
},
+ "xyz.openbmc_project.Inventory.Decorator.Slot": {
+ "SlotNumber": 10
+ },
"xyz.openbmc_project.Inventory.Item": {
"PrettyName": "NVMe U.2 drive 9"
}
@@ -3028,6 +3058,9 @@
"com.ibm.ipzvpd.Location": {
"LocationCode": "Ufcs-P2-C10"
},
+ "xyz.openbmc_project.Inventory.Decorator.Slot": {
+ "SlotNumber": 11
+ },
"xyz.openbmc_project.Inventory.Item": {
"PrettyName": "NVMe U.2 drive 10"
}
@@ -3063,6 +3096,9 @@
"com.ibm.ipzvpd.Location": {
"LocationCode": "Ufcs-P2-C11"
},
+ "xyz.openbmc_project.Inventory.Decorator.Slot": {
+ "SlotNumber": 12
+ },
"xyz.openbmc_project.Inventory.Item": {
"PrettyName": "NVMe U.2 drive 11"
}
@@ -3098,6 +3134,9 @@
"com.ibm.ipzvpd.Location": {
"LocationCode": "Ufcs-P2-C12"
},
+ "xyz.openbmc_project.Inventory.Decorator.Slot": {
+ "SlotNumber": 13
+ },
"xyz.openbmc_project.Inventory.Item": {
"PrettyName": "NVMe U.2 drive 12"
}
@@ -3133,6 +3172,9 @@
"com.ibm.ipzvpd.Location": {
"LocationCode": "Ufcs-P2-C13"
},
+ "xyz.openbmc_project.Inventory.Decorator.Slot": {
+ "SlotNumber": 14
+ },
"xyz.openbmc_project.Inventory.Item": {
"PrettyName": "NVMe U.2 drive 13"
}
@@ -3168,6 +3210,9 @@
"com.ibm.ipzvpd.Location": {
"LocationCode": "Ufcs-P2-C14"
},
+ "xyz.openbmc_project.Inventory.Decorator.Slot": {
+ "SlotNumber": 15
+ },
"xyz.openbmc_project.Inventory.Item": {
"PrettyName": "NVMe U.2 drive 14"
}
@@ -3203,6 +3248,9 @@
"com.ibm.ipzvpd.Location": {
"LocationCode": "Ufcs-P2-C15"
},
+ "xyz.openbmc_project.Inventory.Decorator.Slot": {
+ "SlotNumber": 16
+ },
"xyz.openbmc_project.Inventory.Item": {
"PrettyName": "NVMe U.2 drive 15"
}
diff --git a/config/ibm/50001001.json b/config/ibm/50001001.json
index 1d6cce6..fb1e74e 100644
--- a/config/ibm/50001001.json
+++ b/config/ibm/50001001.json
@@ -2315,6 +2315,9 @@
"com.ibm.ipzvpd.Location": {
"LocationCode": "Ufcs-P1-C2"
},
+ "xyz.openbmc_project.Inventory.Decorator.Slot": {
+ "SlotNumber": 1
+ },
"xyz.openbmc_project.Inventory.Item": {
"PrettyName": "NVMe U.2 drive 0"
}
@@ -2350,6 +2353,9 @@
"com.ibm.ipzvpd.Location": {
"LocationCode": "Ufcs-P1-C3"
},
+ "xyz.openbmc_project.Inventory.Decorator.Slot": {
+ "SlotNumber": 2
+ },
"xyz.openbmc_project.Inventory.Item": {
"PrettyName": "NVMe U.2 drive 1"
}
@@ -2385,6 +2391,9 @@
"com.ibm.ipzvpd.Location": {
"LocationCode": "Ufcs-P1-C4"
},
+ "xyz.openbmc_project.Inventory.Decorator.Slot": {
+ "SlotNumber": 3
+ },
"xyz.openbmc_project.Inventory.Item": {
"PrettyName": "NVMe U.2 drive 2"
}
@@ -2420,6 +2429,9 @@
"com.ibm.ipzvpd.Location": {
"LocationCode": "Ufcs-P1-C5"
},
+ "xyz.openbmc_project.Inventory.Decorator.Slot": {
+ "SlotNumber": 4
+ },
"xyz.openbmc_project.Inventory.Item": {
"PrettyName": "NVMe U.2 drive 3"
}
@@ -2548,6 +2560,9 @@
"com.ibm.ipzvpd.Location": {
"LocationCode": "Ufcs-P2-C10"
},
+ "xyz.openbmc_project.Inventory.Decorator.Slot": {
+ "SlotNumber": 5
+ },
"xyz.openbmc_project.Inventory.Item": {
"PrettyName": "NVMe U.2 drive 4"
}
@@ -2583,6 +2598,9 @@
"com.ibm.ipzvpd.Location": {
"LocationCode": "Ufcs-P2-C11"
},
+ "xyz.openbmc_project.Inventory.Decorator.Slot": {
+ "SlotNumber": 6
+ },
"xyz.openbmc_project.Inventory.Item": {
"PrettyName": "NVMe U.2 drive 5"
}
@@ -2618,6 +2636,9 @@
"com.ibm.ipzvpd.Location": {
"LocationCode": "Ufcs-P2-C12"
},
+ "xyz.openbmc_project.Inventory.Decorator.Slot": {
+ "SlotNumber": 7
+ },
"xyz.openbmc_project.Inventory.Item": {
"PrettyName": "NVMe U.2 drive 6"
}
@@ -2653,6 +2674,9 @@
"com.ibm.ipzvpd.Location": {
"LocationCode": "Ufcs-P2-C13"
},
+ "xyz.openbmc_project.Inventory.Decorator.Slot": {
+ "SlotNumber": 8
+ },
"xyz.openbmc_project.Inventory.Item": {
"PrettyName": "NVMe U.2 drive 7"
}
diff --git a/config/ibm/50001001_v2.json b/config/ibm/50001001_v2.json
index b0c93aa..22bdaab 100644
--- a/config/ibm/50001001_v2.json
+++ b/config/ibm/50001001_v2.json
@@ -2392,6 +2392,9 @@
"com.ibm.ipzvpd.Location": {
"LocationCode": "Ufcs-P1-C2"
},
+ "xyz.openbmc_project.Inventory.Decorator.Slot": {
+ "SlotNumber": 1
+ },
"xyz.openbmc_project.Inventory.Item": {
"PrettyName": "NVMe U.2 drive 0"
}
@@ -2427,6 +2430,9 @@
"com.ibm.ipzvpd.Location": {
"LocationCode": "Ufcs-P1-C3"
},
+ "xyz.openbmc_project.Inventory.Decorator.Slot": {
+ "SlotNumber": 2
+ },
"xyz.openbmc_project.Inventory.Item": {
"PrettyName": "NVMe U.2 drive 1"
}
@@ -2462,6 +2468,9 @@
"com.ibm.ipzvpd.Location": {
"LocationCode": "Ufcs-P1-C4"
},
+ "xyz.openbmc_project.Inventory.Decorator.Slot": {
+ "SlotNumber": 3
+ },
"xyz.openbmc_project.Inventory.Item": {
"PrettyName": "NVMe U.2 drive 2"
}
@@ -2497,6 +2506,9 @@
"com.ibm.ipzvpd.Location": {
"LocationCode": "Ufcs-P1-C5"
},
+ "xyz.openbmc_project.Inventory.Decorator.Slot": {
+ "SlotNumber": 4
+ },
"xyz.openbmc_project.Inventory.Item": {
"PrettyName": "NVMe U.2 drive 3"
}
@@ -2625,6 +2637,9 @@
"com.ibm.ipzvpd.Location": {
"LocationCode": "Ufcs-P2-C10"
},
+ "xyz.openbmc_project.Inventory.Decorator.Slot": {
+ "SlotNumber": 5
+ },
"xyz.openbmc_project.Inventory.Item": {
"PrettyName": "NVMe U.2 drive 4"
}
@@ -2660,6 +2675,9 @@
"com.ibm.ipzvpd.Location": {
"LocationCode": "Ufcs-P2-C11"
},
+ "xyz.openbmc_project.Inventory.Decorator.Slot": {
+ "SlotNumber": 6
+ },
"xyz.openbmc_project.Inventory.Item": {
"PrettyName": "NVMe U.2 drive 5"
}
@@ -2695,6 +2713,9 @@
"com.ibm.ipzvpd.Location": {
"LocationCode": "Ufcs-P2-C12"
},
+ "xyz.openbmc_project.Inventory.Decorator.Slot": {
+ "SlotNumber": 7
+ },
"xyz.openbmc_project.Inventory.Item": {
"PrettyName": "NVMe U.2 drive 6"
}
@@ -2730,6 +2751,9 @@
"com.ibm.ipzvpd.Location": {
"LocationCode": "Ufcs-P2-C13"
},
+ "xyz.openbmc_project.Inventory.Decorator.Slot": {
+ "SlotNumber": 8
+ },
"xyz.openbmc_project.Inventory.Item": {
"PrettyName": "NVMe U.2 drive 7"
}
diff --git a/config/ibm/50001002.json b/config/ibm/50001002.json
index 7fa893d..a80c034 100644
--- a/config/ibm/50001002.json
+++ b/config/ibm/50001002.json
@@ -1660,6 +1660,9 @@
"com.ibm.ipzvpd.Location": {
"LocationCode": "Ufcs-P1-C0"
},
+ "xyz.openbmc_project.Inventory.Decorator.Slot": {
+ "SlotNumber": 1
+ },
"xyz.openbmc_project.Inventory.Item": {
"PrettyName": "NVMe U.2 drive 0"
}
@@ -1695,6 +1698,9 @@
"com.ibm.ipzvpd.Location": {
"LocationCode": "Ufcs-P1-C1"
},
+ "xyz.openbmc_project.Inventory.Decorator.Slot": {
+ "SlotNumber": 2
+ },
"xyz.openbmc_project.Inventory.Item": {
"PrettyName": "NVMe U.2 drive 1"
}
@@ -1730,6 +1736,9 @@
"com.ibm.ipzvpd.Location": {
"LocationCode": "Ufcs-P1-C2"
},
+ "xyz.openbmc_project.Inventory.Decorator.Slot": {
+ "SlotNumber": 3
+ },
"xyz.openbmc_project.Inventory.Item": {
"PrettyName": "NVMe U.2 drive 2"
}
@@ -1765,6 +1774,9 @@
"com.ibm.ipzvpd.Location": {
"LocationCode": "Ufcs-P1-C3"
},
+ "xyz.openbmc_project.Inventory.Decorator.Slot": {
+ "SlotNumber": 4
+ },
"xyz.openbmc_project.Inventory.Item": {
"PrettyName": "NVMe U.2 drive 3"
}
@@ -1800,6 +1812,9 @@
"com.ibm.ipzvpd.Location": {
"LocationCode": "Ufcs-P1-C4"
},
+ "xyz.openbmc_project.Inventory.Decorator.Slot": {
+ "SlotNumber": 5
+ },
"xyz.openbmc_project.Inventory.Item": {
"PrettyName": "NVMe U.2 drive 4"
}
@@ -1835,6 +1850,9 @@
"com.ibm.ipzvpd.Location": {
"LocationCode": "Ufcs-P1-C5"
},
+ "xyz.openbmc_project.Inventory.Decorator.Slot": {
+ "SlotNumber": 6
+ },
"xyz.openbmc_project.Inventory.Item": {
"PrettyName": "NVMe U.2 drive 5"
}
@@ -1870,6 +1888,9 @@
"com.ibm.ipzvpd.Location": {
"LocationCode": "Ufcs-P1-C6"
},
+ "xyz.openbmc_project.Inventory.Decorator.Slot": {
+ "SlotNumber": 7
+ },
"xyz.openbmc_project.Inventory.Item": {
"PrettyName": "NVMe U.2 drive 6"
}
@@ -1905,6 +1926,9 @@
"com.ibm.ipzvpd.Location": {
"LocationCode": "Ufcs-P1-C7"
},
+ "xyz.openbmc_project.Inventory.Decorator.Slot": {
+ "SlotNumber": 8
+ },
"xyz.openbmc_project.Inventory.Item": {
"PrettyName": "NVMe U.2 drive 7"
}
@@ -2083,6 +2107,9 @@
"com.ibm.ipzvpd.Location": {
"LocationCode": "Ufcs-P2-C8"
},
+ "xyz.openbmc_project.Inventory.Decorator.Slot": {
+ "SlotNumber": 9
+ },
"xyz.openbmc_project.Inventory.Item": {
"PrettyName": "NVMe U.2 drive 8"
}
@@ -2118,6 +2145,9 @@
"com.ibm.ipzvpd.Location": {
"LocationCode": "Ufcs-P2-C9"
},
+ "xyz.openbmc_project.Inventory.Decorator.Slot": {
+ "SlotNumber": 10
+ },
"xyz.openbmc_project.Inventory.Item": {
"PrettyName": "NVMe U.2 drive 9"
}
@@ -2153,6 +2183,9 @@
"com.ibm.ipzvpd.Location": {
"LocationCode": "Ufcs-P2-C10"
},
+ "xyz.openbmc_project.Inventory.Decorator.Slot": {
+ "SlotNumber": 11
+ },
"xyz.openbmc_project.Inventory.Item": {
"PrettyName": "NVMe U.2 drive 10"
}
@@ -2188,6 +2221,9 @@
"com.ibm.ipzvpd.Location": {
"LocationCode": "Ufcs-P2-C11"
},
+ "xyz.openbmc_project.Inventory.Decorator.Slot": {
+ "SlotNumber": 12
+ },
"xyz.openbmc_project.Inventory.Item": {
"PrettyName": "NVMe U.2 drive 11"
}
@@ -2223,6 +2259,9 @@
"com.ibm.ipzvpd.Location": {
"LocationCode": "Ufcs-P2-C12"
},
+ "xyz.openbmc_project.Inventory.Decorator.Slot": {
+ "SlotNumber": 13
+ },
"xyz.openbmc_project.Inventory.Item": {
"PrettyName": "NVMe U.2 drive 12"
}
@@ -2258,6 +2297,9 @@
"com.ibm.ipzvpd.Location": {
"LocationCode": "Ufcs-P2-C13"
},
+ "xyz.openbmc_project.Inventory.Decorator.Slot": {
+ "SlotNumber": 14
+ },
"xyz.openbmc_project.Inventory.Item": {
"PrettyName": "NVMe U.2 drive 13"
}
@@ -2293,6 +2335,9 @@
"com.ibm.ipzvpd.Location": {
"LocationCode": "Ufcs-P2-C14"
},
+ "xyz.openbmc_project.Inventory.Decorator.Slot": {
+ "SlotNumber": 15
+ },
"xyz.openbmc_project.Inventory.Item": {
"PrettyName": "NVMe U.2 drive 14"
}
@@ -2328,6 +2373,9 @@
"com.ibm.ipzvpd.Location": {
"LocationCode": "Ufcs-P2-C15"
},
+ "xyz.openbmc_project.Inventory.Decorator.Slot": {
+ "SlotNumber": 16
+ },
"xyz.openbmc_project.Inventory.Item": {
"PrettyName": "NVMe U.2 drive 15"
}
diff --git a/config/ibm/50003000.json b/config/ibm/50003000.json
index 29f9503..cd207ff 100644
--- a/config/ibm/50003000.json
+++ b/config/ibm/50003000.json
@@ -2082,6 +2082,9 @@
"com.ibm.ipzvpd.Location": {
"LocationCode": "Ufcs-P1-C0"
},
+ "xyz.openbmc_project.Inventory.Decorator.Slot": {
+ "SlotNumber": 1
+ },
"xyz.openbmc_project.Inventory.Item": {
"PrettyName": "NVMe U.2 drive 0"
}
@@ -2117,6 +2120,9 @@
"com.ibm.ipzvpd.Location": {
"LocationCode": "Ufcs-P1-C1"
},
+ "xyz.openbmc_project.Inventory.Decorator.Slot": {
+ "SlotNumber": 2
+ },
"xyz.openbmc_project.Inventory.Item": {
"PrettyName": "NVMe U.2 drive 1"
}
@@ -2152,6 +2158,9 @@
"com.ibm.ipzvpd.Location": {
"LocationCode": "Ufcs-P1-C2"
},
+ "xyz.openbmc_project.Inventory.Decorator.Slot": {
+ "SlotNumber": 3
+ },
"xyz.openbmc_project.Inventory.Item": {
"PrettyName": "NVMe U.2 drive 2"
}
@@ -2187,6 +2196,9 @@
"com.ibm.ipzvpd.Location": {
"LocationCode": "Ufcs-P1-C3"
},
+ "xyz.openbmc_project.Inventory.Decorator.Slot": {
+ "SlotNumber": 4
+ },
"xyz.openbmc_project.Inventory.Item": {
"PrettyName": "NVMe U.2 drive 3"
}
@@ -2222,6 +2234,9 @@
"com.ibm.ipzvpd.Location": {
"LocationCode": "Ufcs-P1-C4"
},
+ "xyz.openbmc_project.Inventory.Decorator.Slot": {
+ "SlotNumber": 5
+ },
"xyz.openbmc_project.Inventory.Item": {
"PrettyName": "NVMe U.2 drive 4"
}
@@ -2257,6 +2272,9 @@
"com.ibm.ipzvpd.Location": {
"LocationCode": "Ufcs-P1-C5"
},
+ "xyz.openbmc_project.Inventory.Decorator.Slot": {
+ "SlotNumber": 6
+ },
"xyz.openbmc_project.Inventory.Item": {
"PrettyName": "NVMe U.2 drive 5"
}
@@ -2292,6 +2310,9 @@
"com.ibm.ipzvpd.Location": {
"LocationCode": "Ufcs-P1-C6"
},
+ "xyz.openbmc_project.Inventory.Decorator.Slot": {
+ "SlotNumber": 7
+ },
"xyz.openbmc_project.Inventory.Item": {
"PrettyName": "NVMe U.2 drive 6"
}
@@ -2327,6 +2348,9 @@
"com.ibm.ipzvpd.Location": {
"LocationCode": "Ufcs-P1-C7"
},
+ "xyz.openbmc_project.Inventory.Decorator.Slot": {
+ "SlotNumber": 8
+ },
"xyz.openbmc_project.Inventory.Item": {
"PrettyName": "NVMe U.2 drive 7"
}
@@ -2362,6 +2386,9 @@
"com.ibm.ipzvpd.Location": {
"LocationCode": "Ufcs-P1-C8"
},
+ "xyz.openbmc_project.Inventory.Decorator.Slot": {
+ "SlotNumber": 9
+ },
"xyz.openbmc_project.Inventory.Item": {
"PrettyName": "NVMe U.2 drive 8"
}
@@ -2397,6 +2424,9 @@
"com.ibm.ipzvpd.Location": {
"LocationCode": "Ufcs-P1-C9"
},
+ "xyz.openbmc_project.Inventory.Decorator.Slot": {
+ "SlotNumber": 10
+ },
"xyz.openbmc_project.Inventory.Item": {
"PrettyName": "NVMe U.2 drive 9"
}
diff --git a/config/ibm/50003000_v2.json b/config/ibm/50003000_v2.json
index 0d24449..e871caa 100644
--- a/config/ibm/50003000_v2.json
+++ b/config/ibm/50003000_v2.json
@@ -2066,6 +2066,9 @@
"com.ibm.ipzvpd.Location": {
"LocationCode": "Ufcs-P1-C0"
},
+ "xyz.openbmc_project.Inventory.Decorator.Slot": {
+ "SlotNumber": 1
+ },
"xyz.openbmc_project.Inventory.Item": {
"PrettyName": "NVMe U.2 drive 0"
}
@@ -2101,6 +2104,9 @@
"com.ibm.ipzvpd.Location": {
"LocationCode": "Ufcs-P1-C1"
},
+ "xyz.openbmc_project.Inventory.Decorator.Slot": {
+ "SlotNumber": 2
+ },
"xyz.openbmc_project.Inventory.Item": {
"PrettyName": "NVMe U.2 drive 1"
}
@@ -2136,6 +2142,9 @@
"com.ibm.ipzvpd.Location": {
"LocationCode": "Ufcs-P1-C2"
},
+ "xyz.openbmc_project.Inventory.Decorator.Slot": {
+ "SlotNumber": 3
+ },
"xyz.openbmc_project.Inventory.Item": {
"PrettyName": "NVMe U.2 drive 2"
}
@@ -2171,6 +2180,9 @@
"com.ibm.ipzvpd.Location": {
"LocationCode": "Ufcs-P1-C3"
},
+ "xyz.openbmc_project.Inventory.Decorator.Slot": {
+ "SlotNumber": 4
+ },
"xyz.openbmc_project.Inventory.Item": {
"PrettyName": "NVMe U.2 drive 3"
}
@@ -2206,6 +2218,9 @@
"com.ibm.ipzvpd.Location": {
"LocationCode": "Ufcs-P1-C4"
},
+ "xyz.openbmc_project.Inventory.Decorator.Slot": {
+ "SlotNumber": 5
+ },
"xyz.openbmc_project.Inventory.Item": {
"PrettyName": "NVMe U.2 drive 4"
}
@@ -2241,6 +2256,9 @@
"com.ibm.ipzvpd.Location": {
"LocationCode": "Ufcs-P1-C5"
},
+ "xyz.openbmc_project.Inventory.Decorator.Slot": {
+ "SlotNumber": 6
+ },
"xyz.openbmc_project.Inventory.Item": {
"PrettyName": "NVMe U.2 drive 5"
}
@@ -2276,6 +2294,9 @@
"com.ibm.ipzvpd.Location": {
"LocationCode": "Ufcs-P1-C6"
},
+ "xyz.openbmc_project.Inventory.Decorator.Slot": {
+ "SlotNumber": 7
+ },
"xyz.openbmc_project.Inventory.Item": {
"PrettyName": "NVMe U.2 drive 6"
}
@@ -2311,6 +2332,9 @@
"com.ibm.ipzvpd.Location": {
"LocationCode": "Ufcs-P1-C7"
},
+ "xyz.openbmc_project.Inventory.Decorator.Slot": {
+ "SlotNumber": 8
+ },
"xyz.openbmc_project.Inventory.Item": {
"PrettyName": "NVMe U.2 drive 7"
}
@@ -2346,6 +2370,9 @@
"com.ibm.ipzvpd.Location": {
"LocationCode": "Ufcs-P1-C8"
},
+ "xyz.openbmc_project.Inventory.Decorator.Slot": {
+ "SlotNumber": 9
+ },
"xyz.openbmc_project.Inventory.Item": {
"PrettyName": "NVMe U.2 drive 8"
}
@@ -2381,6 +2408,9 @@
"com.ibm.ipzvpd.Location": {
"LocationCode": "Ufcs-P1-C9"
},
+ "xyz.openbmc_project.Inventory.Decorator.Slot": {
+ "SlotNumber": 10
+ },
"xyz.openbmc_project.Inventory.Item": {
"PrettyName": "NVMe U.2 drive 9"
}