meta-inspur: fp5280g2: Update identify association
Update the association configuration of identify according to
the latest association interface[1].
[1] https://github.com/openbmc/phosphor-dbus-interfaces/commit/9eb460c6cfc2d7c2feb29c86f4beb31d4c3d9250
Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: I40e5c87e9e2838c42f855d786ccdf3478827e0f4
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 95bc7be..d97dda9 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
@@ -36,15 +36,15 @@
{
"types":
{
- "rType": "fru",
- "fType": "fault_led_group"
+ "rType": "identified_by",
+ "fType": "identifying"
},
"paths":
[
- "/xyz/openbmc_project/led/groups/powersupply0_fault"
+ "/xyz/openbmc_project/led/groups/enclosure_identify"
]
},
- {
+ {
"types": {
"rType": "powered_by",
"fType": "powering"
@@ -81,12 +81,12 @@
{
"types":
{
- "rType": "inventory",
- "fType": "leds"
+ "rType": "identified_by",
+ "fType": "identifying"
},
"paths":
[
- "/xyz/openbmc_project/led/physical/front_psu"
+ "/xyz/openbmc_project/led/groups/enclosure_identify"
]
},
{
@@ -100,7 +100,7 @@
"/xyz/openbmc_project/led/groups/powersupply1_fault"
]
},
- {
+ {
"types": {
"rType": "powered_by",
"fType": "powering"
@@ -130,12 +130,12 @@
{
"types":
{
- "rType": "inventory",
- "fType": "leds"
+ "rType": "identified_by",
+ "fType": "identifying"
},
"paths":
[
- "/xyz/openbmc_project/led/physical/front_fan"
+ "/xyz/openbmc_project/led/groups/enclosure_identify"
]
},
{
@@ -181,12 +181,12 @@
{
"types":
{
- "rType": "inventory",
- "fType": "leds"
+ "rType": "identified_by",
+ "fType": "identifying"
},
"paths":
[
- "/xyz/openbmc_project/led/physical/front_fan"
+ "/xyz/openbmc_project/led/groups/enclosure_identify"
]
},
{
@@ -232,12 +232,12 @@
{
"types":
{
- "rType": "inventory",
- "fType": "leds"
+ "rType": "identified_by",
+ "fType": "identifying"
},
"paths":
[
- "/xyz/openbmc_project/led/physical/front_fan"
+ "/xyz/openbmc_project/led/groups/enclosure_identify"
]
},
{
@@ -283,12 +283,12 @@
{
"types":
{
- "rType": "inventory",
- "fType": "leds"
+ "rType": "identified_by",
+ "fType": "identifying"
},
"paths":
[
- "/xyz/openbmc_project/led/physical/front_fan"
+ "/xyz/openbmc_project/led/groups/enclosure_identify"
]
},
{
@@ -346,12 +346,12 @@
{
"types":
{
- "rType": "inventory",
- "fType": "leds"
+ "rType": "identified_by",
+ "fType": "identifying"
},
"paths":
[
- "/xyz/openbmc_project/led/physical/front_syshealth"
+ "/xyz/openbmc_project/led/groups/enclosure_identify"
]
},
{
@@ -374,12 +374,12 @@
{
"types":
{
- "rType": "inventory",
- "fType": "leds"
+ "rType": "identified_by",
+ "fType": "identifying"
},
"paths":
[
- "/xyz/openbmc_project/led/physical/front-syshot"
+ "/xyz/openbmc_project/led/groups/enclosure_identify"
]
},
{
@@ -402,12 +402,12 @@
{
"types":
{
- "rType": "inventory",
- "fType": "leds"
+ "rType": "identified_by",
+ "fType": "identifying"
},
"paths":
[
- "/xyz/openbmc_project/led/physical/front-syshot"
+ "/xyz/openbmc_project/led/groups/enclosure_identify"
]
},
{
@@ -1257,12 +1257,12 @@
{
"types":
{
- "rType": "inventory",
- "fType": "leds"
+ "rType": "identified_by",
+ "fType": "identifying"
},
"paths":
[
- "/xyz/openbmc_project/led/physical/front-memory"
+ "/xyz/openbmc_project/led/groups/enclosure_identify"
]
},
{
@@ -1296,12 +1296,12 @@
{
"types":
{
- "rType": "inventory",
- "fType": "leds"
+ "rType": "identified_by",
+ "fType": "identifying"
},
"paths":
[
- "/xyz/openbmc_project/led/physical/front-memory"
+ "/xyz/openbmc_project/led/groups/enclosure_identify"
]
},
{
@@ -1335,12 +1335,12 @@
{
"types":
{
- "rType": "inventory",
- "fType": "leds"
+ "rType": "identified_by",
+ "fType": "identifying"
},
"paths":
[
- "/xyz/openbmc_project/led/physical/front-memory"
+ "/xyz/openbmc_project/led/groups/enclosure_identify"
]
},
{
@@ -1374,12 +1374,12 @@
{
"types":
{
- "rType": "inventory",
- "fType": "leds"
+ "rType": "identified_by",
+ "fType": "identifying"
},
"paths":
[
- "/xyz/openbmc_project/led/physical/front-memory"
+ "/xyz/openbmc_project/led/groups/enclosure_identify"
]
},
{
@@ -1413,12 +1413,12 @@
{
"types":
{
- "rType": "inventory",
- "fType": "leds"
+ "rType": "identified_by",
+ "fType": "identifying"
},
"paths":
[
- "/xyz/openbmc_project/led/physical/front-memory"
+ "/xyz/openbmc_project/led/groups/enclosure_identify"
]
},
{
@@ -1452,12 +1452,12 @@
{
"types":
{
- "rType": "inventory",
- "fType": "leds"
+ "rType": "identified_by",
+ "fType": "identifying"
},
"paths":
[
- "/xyz/openbmc_project/led/physical/front-memory"
+ "/xyz/openbmc_project/led/groups/enclosure_identify"
]
},
{
@@ -1491,12 +1491,12 @@
{
"types":
{
- "rType": "inventory",
- "fType": "leds"
+ "rType": "identified_by",
+ "fType": "identifying"
},
"paths":
[
- "/xyz/openbmc_project/led/physical/front-memory"
+ "/xyz/openbmc_project/led/groups/enclosure_identify"
]
},
{
@@ -1530,12 +1530,12 @@
{
"types":
{
- "rType": "inventory",
- "fType": "leds"
+ "rType": "identified_by",
+ "fType": "identifying"
},
"paths":
[
- "/xyz/openbmc_project/led/physical/front-memory"
+ "/xyz/openbmc_project/led/groups/enclosure_identify"
]
},
{
@@ -1569,12 +1569,12 @@
{
"types":
{
- "rType": "inventory",
- "fType": "leds"
+ "rType": "identified_by",
+ "fType": "identifying"
},
"paths":
[
- "/xyz/openbmc_project/led/physical/front-memory"
+ "/xyz/openbmc_project/led/groups/enclosure_identify"
]
},
{
@@ -1608,12 +1608,12 @@
{
"types":
{
- "rType": "inventory",
- "fType": "leds"
+ "rType": "identified_by",
+ "fType": "identifying"
},
"paths":
[
- "/xyz/openbmc_project/led/physical/front-memory"
+ "/xyz/openbmc_project/led/groups/enclosure_identify"
]
},
{
@@ -1647,12 +1647,12 @@
{
"types":
{
- "rType": "inventory",
- "fType": "leds"
+ "rType": "identified_by",
+ "fType": "identifying"
},
"paths":
[
- "/xyz/openbmc_project/led/physical/front-memory"
+ "/xyz/openbmc_project/led/groups/enclosure_identify"
]
},
{
@@ -1686,12 +1686,12 @@
{
"types":
{
- "rType": "inventory",
- "fType": "leds"
+ "rType": "identified_by",
+ "fType": "identifying"
},
"paths":
[
- "/xyz/openbmc_project/led/physical/front-memory"
+ "/xyz/openbmc_project/led/groups/enclosure_identify"
]
},
{
@@ -1725,12 +1725,12 @@
{
"types":
{
- "rType": "inventory",
- "fType": "leds"
+ "rType": "identified_by",
+ "fType": "identifying"
},
"paths":
[
- "/xyz/openbmc_project/led/physical/front-memory"
+ "/xyz/openbmc_project/led/groups/enclosure_identify"
]
},
{
@@ -1764,12 +1764,12 @@
{
"types":
{
- "rType": "inventory",
- "fType": "leds"
+ "rType": "identified_by",
+ "fType": "identifying"
},
"paths":
[
- "/xyz/openbmc_project/led/physical/front-memory"
+ "/xyz/openbmc_project/led/groups/enclosure_identify"
]
},
{
@@ -1803,12 +1803,12 @@
{
"types":
{
- "rType": "inventory",
- "fType": "leds"
+ "rType": "identified_by",
+ "fType": "identifying"
},
"paths":
[
- "/xyz/openbmc_project/led/physical/front-memory"
+ "/xyz/openbmc_project/led/groups/enclosure_identify"
]
},
{
@@ -1842,12 +1842,12 @@
{
"types":
{
- "rType": "inventory",
- "fType": "leds"
+ "rType": "identified_by",
+ "fType": "identifying"
},
"paths":
[
- "/xyz/openbmc_project/led/physical/front-memory"
+ "/xyz/openbmc_project/led/groups/enclosure_identify"
]
},
{
@@ -1870,6 +1870,17 @@
{
"types":
{
+ "rType": "identified_by",
+ "fType": "identifying"
+ },
+ "paths":
+ [
+ "/xyz/openbmc_project/led/groups/enclosure_identify"
+ ]
+ },
+ {
+ "types":
+ {
"rType": "chassis",
"fType": "all_sensors"
},