configurations: Add IBM CFFPS json files
Create json configuration files to describe IBM's Common
Form Factor Power Supplies (CFFPS).
Tested: Verified the new entity was in d-bus:
$ busctl introspect xyz.openbmc_project.EntityManager /xyz/openbmc_project/inventory/system/powersupply/IBM_2000W_CFFPS_1
xyz.openbmc_project.Inventory.Item.PowerSupply interface - - -
.Name property s "IBM 2000W CFFPS 1" emits-change
.Probe property as 1 "xyz.openbmc_project.Inventory.Decora… emits-change
.Type property s "PowerSupply" emits-change
Change-Id: Idb023121932a3e04125bb73fc117082e6bcbaf6e
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
diff --git a/configurations/IBM 1000W CFFPS.json b/configurations/IBM 1000W CFFPS.json
new file mode 100644
index 0000000..6129f8a
--- /dev/null
+++ b/configurations/IBM 1000W CFFPS.json
@@ -0,0 +1,11 @@
+{
+ "Exposes": [
+ ],
+ "Name": "IBM 1000W CFFPS $index",
+ "Probe": [
+ "xyz.openbmc_project.Inventory.Decorator.Asset({'Model': '2B1D'})",
+ "OR",
+ "xyz.openbmc_project.Inventory.Decorator.Asset({'Model': '51ED'})"
+ ],
+ "Type": "PowerSupply"
+}
diff --git a/configurations/IBM 1400W CFFPS.json b/configurations/IBM 1400W CFFPS.json
new file mode 100644
index 0000000..e098021
--- /dev/null
+++ b/configurations/IBM 1400W CFFPS.json
@@ -0,0 +1,9 @@
+{
+ "Exposes": [
+ ],
+ "Name": "IBM 1400W CFFPS $index",
+ "Probe": [
+ "xyz.openbmc_project.Inventory.Decorator.Asset({'Model': '2B1E'})"
+ ],
+ "Type": "PowerSupply"
+}
diff --git a/configurations/IBM 1600W CFFPS.json b/configurations/IBM 1600W CFFPS.json
new file mode 100644
index 0000000..c2bc523
--- /dev/null
+++ b/configurations/IBM 1600W CFFPS.json
@@ -0,0 +1,9 @@
+{
+ "Exposes": [
+ ],
+ "Name": "IBM 1600W CFFPS $index",
+ "Probe": [
+ "xyz.openbmc_project.Inventory.Decorator.Asset({'Model': '2B1E'})"
+ ],
+ "Type": "PowerSupply"
+}
diff --git a/configurations/IBM 2000W CFFPS.json b/configurations/IBM 2000W CFFPS.json
new file mode 100644
index 0000000..5156dc8
--- /dev/null
+++ b/configurations/IBM 2000W CFFPS.json
@@ -0,0 +1,9 @@
+{
+ "Exposes": [
+ ],
+ "Name": "IBM 2000W CFFPS $index",
+ "Probe": [
+ "xyz.openbmc_project.Inventory.Decorator.Asset({'Model': '51E9'})"
+ ],
+ "Type": "PowerSupply"
+}
diff --git a/configurations/IBM 2300W CFFPS.json b/configurations/IBM 2300W CFFPS.json
new file mode 100644
index 0000000..39ba88c
--- /dev/null
+++ b/configurations/IBM 2300W CFFPS.json
@@ -0,0 +1,9 @@
+{
+ "Exposes": [
+ ],
+ "Name": "IBM 2300W CFFPS $index",
+ "Probe": [
+ "xyz.openbmc_project.Inventory.Decorator.Asset({'Model': '51EA'})"
+ ],
+ "Type": "PowerSupply"
+}
diff --git a/meson.build b/meson.build
index e016f04..8f49671 100644
--- a/meson.build
+++ b/meson.build
@@ -94,6 +94,11 @@
'FBTP.json',
'FBYV2.json',
'Flextronics S-1100ADU00-201 PSU.json',
+ 'IBM 1000W CFFPS.json',
+ 'IBM 1400W CFFPS.json',
+ 'IBM 1600W CFFPS.json',
+ 'IBM 2000W CFFPS.json',
+ 'IBM 2300W CFFPS.json',
'Intel Front Panel.json',
'Nisqually.json',
'NVME P4000.json',