meta-ibm: p10bmc: Update the association between PowerSupply and Chassis
Per association document[1], add/update 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: Ia7e40b67c13f2900a4d91d7f911f47c15b12b6c5
diff --git a/meta-ibm/recipes-phosphor/inventory/phosphor-inventory-manager/associations.json b/meta-ibm/recipes-phosphor/inventory/phosphor-inventory-manager/associations.json
index accf38b..4c49644 100644
--- a/meta-ibm/recipes-phosphor/inventory/phosphor-inventory-manager/associations.json
+++ b/meta-ibm/recipes-phosphor/inventory/phosphor-inventory-manager/associations.json
@@ -27,6 +27,15 @@
[
"/xyz/openbmc_project/led/physical/cffps1_69"
]
+ },
+ {
+ "types": {
+ "rType": "powered_by",
+ "fType": "powering"
+ },
+ "paths": [
+ "/xyz/openbmc_project/inventory/system/chassis"
+ ]
}
]
},
@@ -58,8 +67,16 @@
[
"/xyz/openbmc_project/led/physical/cffps1_68"
]
+ },
+ {
+ "types": {
+ "rType": "powered_by",
+ "fType": "powering"
+ },
+ "paths": [
+ "/xyz/openbmc_project/inventory/system/chassis"
+ ]
}
-
]
},
{
diff --git a/meta-ibm/recipes-phosphor/inventory/phosphor-inventory-manager/p10bmc/ibm,everest_associations.json b/meta-ibm/recipes-phosphor/inventory/phosphor-inventory-manager/p10bmc/ibm,everest_associations.json
index 42aa5bc..26ea6b2 100644
--- a/meta-ibm/recipes-phosphor/inventory/phosphor-inventory-manager/p10bmc/ibm,everest_associations.json
+++ b/meta-ibm/recipes-phosphor/inventory/phosphor-inventory-manager/p10bmc/ibm,everest_associations.json
@@ -400,8 +400,8 @@
{
"types":
{
- "rType": "inventory",
- "fType": "chassis"
+ "rType": "powered_by",
+ "fType": "powering"
},
"paths":
[
@@ -468,8 +468,8 @@
{
"types":
{
- "rType": "inventory",
- "fType": "chassis"
+ "rType": "powered_by",
+ "fType": "powering"
},
"paths":
[
@@ -536,8 +536,8 @@
{
"types":
{
- "rType": "inventory",
- "fType": "chassis"
+ "rType": "powered_by",
+ "fType": "powering"
},
"paths":
[
@@ -604,8 +604,8 @@
{
"types":
{
- "rType": "inventory",
- "fType": "chassis"
+ "rType": "powered_by",
+ "fType": "powering"
},
"paths":
[
diff --git a/meta-ibm/recipes-phosphor/inventory/phosphor-inventory-manager/p10bmc/ibm,rainier-2u_associations.json b/meta-ibm/recipes-phosphor/inventory/phosphor-inventory-manager/p10bmc/ibm,rainier-2u_associations.json
index 7edcde5..a2d6bb3 100644
--- a/meta-ibm/recipes-phosphor/inventory/phosphor-inventory-manager/p10bmc/ibm,rainier-2u_associations.json
+++ b/meta-ibm/recipes-phosphor/inventory/phosphor-inventory-manager/p10bmc/ibm,rainier-2u_associations.json
@@ -425,8 +425,8 @@
{
"types":
{
- "rType": "inventory",
- "fType": "chassis"
+ "rType": "powered_by",
+ "fType": "powering"
},
"paths":
[
@@ -493,8 +493,8 @@
{
"types":
{
- "rType": "inventory",
- "fType": "chassis"
+ "rType": "powered_by",
+ "fType": "powering"
},
"paths":
[
diff --git a/meta-ibm/recipes-phosphor/inventory/phosphor-inventory-manager/p10bmc/ibm,rainier-4u_associations.json b/meta-ibm/recipes-phosphor/inventory/phosphor-inventory-manager/p10bmc/ibm,rainier-4u_associations.json
index 043b521..42a59dd 100644
--- a/meta-ibm/recipes-phosphor/inventory/phosphor-inventory-manager/p10bmc/ibm,rainier-4u_associations.json
+++ b/meta-ibm/recipes-phosphor/inventory/phosphor-inventory-manager/p10bmc/ibm,rainier-4u_associations.json
@@ -431,8 +431,8 @@
{
"types":
{
- "rType": "inventory",
- "fType": "chassis"
+ "rType": "powered_by",
+ "fType": "powering"
},
"paths":
[
@@ -499,8 +499,8 @@
{
"types":
{
- "rType": "inventory",
- "fType": "chassis"
+ "rType": "powered_by",
+ "fType": "powering"
},
"paths":
[
@@ -567,8 +567,8 @@
{
"types":
{
- "rType": "inventory",
- "fType": "chassis"
+ "rType": "powered_by",
+ "fType": "powering"
},
"paths":
[
@@ -635,8 +635,8 @@
{
"types":
{
- "rType": "inventory",
- "fType": "chassis"
+ "rType": "powered_by",
+ "fType": "powering"
},
"paths":
[