summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Liu <liuxiwei@inspur.com>2022-10-31 10:05:10 +0300
committerGeorge Liu <liuxiwei@inspur.com>2022-11-03 03:17:08 +0300
commit96431ac28c55941d412576167eac673db09a4b83 (patch)
tree8fe93255b0137cc4795bbfe3069cecefc8a3afc4
parente4713c91cee1915ab18817ab9928f73e48fea1cb (diff)
downloadopenbmc-96431ac28c55941d412576167eac673db09a4b83.tar.xz
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
-rw-r--r--meta-inspur/meta-fp5280g2/recipes-phosphor/inventory/phosphor-inventory-manager/associations.json18
1 files changed, 18 insertions, 0 deletions
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 0f3ffa3d21..660d0b29ab 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"
+ ]
}
]
},