meta-inspur: fp5280g2: Upddate fan and chassis associations
Update the associated configuration of fans and chassis according to
the latest associated interface[1].
[1] https://github.com/openbmc/phosphor-dbus-interfaces/commit/d0aa13b446ee1738d53fb1e04341946f5b0b7616
Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: I1d9979ec379cd1aa12151d382601ba4af6d1cb91
diff --git a/meta-inspur/meta-fp5280g2/recipes-phosphor/inventory/phosphor-inventory-manager/associations.json b/meta-inspur/meta-fp5280g2/recipes-phosphor/inventory/phosphor-inventory-manager/associations.json
index 660d0b2..95bc7be 100644
--- a/meta-inspur/meta-fp5280g2/recipes-phosphor/inventory/phosphor-inventory-manager/associations.json
+++ b/meta-inspur/meta-fp5280g2/recipes-phosphor/inventory/phosphor-inventory-manager/associations.json
@@ -148,6 +148,17 @@
[
"/xyz/openbmc_project/led/groups/fan0_fault"
]
+ },
+ {
+ "types":
+ {
+ "rType": "cooled_by",
+ "fType": "cooling"
+ },
+ "paths":
+ [
+ "/xyz/openbmc_project/inventory/system/chassis"
+ ]
}
]
},
@@ -188,6 +199,17 @@
[
"/xyz/openbmc_project/led/groups/fan1_fault"
]
+ },
+ {
+ "types":
+ {
+ "rType": "cooled_by",
+ "fType": "cooling"
+ },
+ "paths":
+ [
+ "/xyz/openbmc_project/inventory/system/chassis"
+ ]
}
]
},
@@ -228,6 +250,17 @@
[
"/xyz/openbmc_project/led/groups/fan2_fault"
]
+ },
+ {
+ "types":
+ {
+ "rType": "cooled_by",
+ "fType": "cooling"
+ },
+ "paths":
+ [
+ "/xyz/openbmc_project/inventory/system/chassis"
+ ]
}
]
},
@@ -268,6 +301,17 @@
[
"/xyz/openbmc_project/led/groups/fan3_fault"
]
+ },
+ {
+ "types":
+ {
+ "rType": "cooled_by",
+ "fType": "cooling"
+ },
+ "paths":
+ [
+ "/xyz/openbmc_project/inventory/system/chassis"
+ ]
}
]
},