summaryrefslogtreecommitdiff
path: root/meta-ibs/meta-cp2-5422/recipes-phosphor/inventory/phosphor-inventory-manager-fans/fans.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'meta-ibs/meta-cp2-5422/recipes-phosphor/inventory/phosphor-inventory-manager-fans/fans.yaml')
-rw-r--r--meta-ibs/meta-cp2-5422/recipes-phosphor/inventory/phosphor-inventory-manager-fans/fans.yaml18
1 files changed, 18 insertions, 0 deletions
diff --git a/meta-ibs/meta-cp2-5422/recipes-phosphor/inventory/phosphor-inventory-manager-fans/fans.yaml b/meta-ibs/meta-cp2-5422/recipes-phosphor/inventory/phosphor-inventory-manager-fans/fans.yaml
new file mode 100644
index 0000000000..de749598fa
--- /dev/null
+++ b/meta-ibs/meta-cp2-5422/recipes-phosphor/inventory/phosphor-inventory-manager-fans/fans.yaml
@@ -0,0 +1,18 @@
+events:
+ - name: Add Fans interface
+ description: >
+ Add the fan interface on the fan inventory path
+ type: startup
+ actions:
+ - name: createObjects
+ objs:
+ /system/board/fan0:
+ xyz.openbmc_project.Inventory.Item.Fan:
+ /system/board/fan1:
+ xyz.openbmc_project.Inventory.Item.Fan:
+ /system/board/fan2:
+ xyz.openbmc_project.Inventory.Item.Fan:
+ /system/board/fan3:
+ xyz.openbmc_project.Inventory.Item.Fan:
+ /system/board/fan4:
+ xyz.openbmc_project.Inventory.Item.Fan: