meta-inspur: fp5280g2: Add the association between PowerSupply and Chassis
Per association document[1], add the association between PowerSupply and
Chassis.
[1] https://github.com/openbmc/phosphor-dbus-interfaces/commit/11efbb3c856af9d760e2d27ff276090d7b3510d5
Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: I6b98879f57f2f43ab5d07270ab59c444e2147235
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 0f3ffa3..660d0b2 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
@@ -43,6 +43,15 @@
[
"/xyz/openbmc_project/led/groups/powersupply0_fault"
]
+ },
+ {
+ "types": {
+ "rType": "powered_by",
+ "fType": "powering"
+ },
+ "paths": [
+ "/xyz/openbmc_project/inventory/system/chassis"
+ ]
}
]
},
@@ -90,6 +99,15 @@
[
"/xyz/openbmc_project/led/groups/powersupply1_fault"
]
+ },
+ {
+ "types": {
+ "rType": "powered_by",
+ "fType": "powering"
+ },
+ "paths": [
+ "/xyz/openbmc_project/inventory/system/chassis"
+ ]
}
]
},