From 9f2ba62e5604a59b88f1bdc8cdc86fb43e0243d5 Mon Sep 17 00:00:00 2001 From: "Lakshminarayana R. Kammath" Date: Wed, 3 Nov 2021 05:41:03 -0500 Subject: meta-ibm: Add enclosure_fault and enclosure_identify to the Association json Earlier enclosure_identify and enclosure_fault associations were missing in the inventory manager. With this checkin we are adding those associations. busctl get-property xyz.openbmc_project.Inventory.Manager /xyz/openbmc_project/inventory/system/chassis xyz.openbmc_project.Association.Definitions Associations a(sss) 24 "fault_led_group" "fault_inventory_object" "/xyz/openbmc_project/led/groups/enclosure_fault" "identify_led_group" "identify_inventory_object" "/xyz/openbmc_project/led/groups/enclosure_identify" "chassis" "inventory" "/xyz/openbmc_project/inventory/system/chassis" .... After closely looking into all the LED's it was identified that enclosure_fault and enclosure_identify is missing in the association and this commit is to enable same Signed-off-by: Lakshminarayana R. Kammath Change-Id: I42728d994e9110c56c607aeea98623fe2613af92 --- .../p10bmc/ibm,everest_associations.json | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'meta-ibm/recipes-phosphor/inventory/phosphor-inventory-manager/p10bmc/ibm,everest_associations.json') 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 7405ce1fc..68a0a6ac2 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 @@ -174,6 +174,28 @@ "path": "system/chassis", "endpoints": [ + { + "types": + { + "rType": "fault_inventory_object", + "fType": "fault_led_group" + }, + "paths": + [ + "/xyz/openbmc_project/led/groups/enclosure_fault" + ] + }, + { + "types": + { + "rType": "identify_inventory_object", + "fType": "identify_led_group" + }, + "paths": + [ + "/xyz/openbmc_project/led/groups/enclosure_identify" + ] + }, { "types": { -- cgit v1.2.3 From 4e5730ceac7c6f5e4f33bf92a420ecdb119f395e Mon Sep 17 00:00:00 2001 From: Ben Tyner Date: Tue, 30 Nov 2021 07:49:19 -0600 Subject: meta-ibm:(PIM) Add altitude sensor association Make altitude sensor visible via redfish, chassis, all-sensors. Signed-off-by: Ben Tyner Change-Id: I7e032e74ad8889e7e80e197dccc7b65a26482c0a --- .../phosphor-inventory-manager/p10bmc/ibm,everest_associations.json | 1 + .../phosphor-inventory-manager/p10bmc/ibm,rainier-2u_associations.json | 1 + .../phosphor-inventory-manager/p10bmc/ibm,rainier-4u_associations.json | 1 + 3 files changed, 3 insertions(+) (limited to 'meta-ibm/recipes-phosphor/inventory/phosphor-inventory-manager/p10bmc/ibm,everest_associations.json') 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 68a0a6ac2..a1a87e534 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 @@ -204,6 +204,7 @@ }, "paths": [ + "/xyz/openbmc_project/sensors/altitude/Altitude", "/xyz/openbmc_project/sensors/fan_tach/fan0_0", "/xyz/openbmc_project/sensors/fan_tach/fan0_1", "/xyz/openbmc_project/sensors/fan_tach/fan1_0", 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 b6f1ceaf3..73dda9edf 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 @@ -285,6 +285,7 @@ }, "paths": [ + "/xyz/openbmc_project/sensors/altitude/Altitude", "/xyz/openbmc_project/sensors/fan_tach/fan0_0", "/xyz/openbmc_project/sensors/fan_tach/fan0_1", "/xyz/openbmc_project/sensors/fan_tach/fan1_0", 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 667c53c89..2e1682de1 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 @@ -279,6 +279,7 @@ }, "paths": [ + "/xyz/openbmc_project/sensors/altitude/Altitude", "/xyz/openbmc_project/sensors/fan_tach/fan0_0", "/xyz/openbmc_project/sensors/fan_tach/fan1_0", "/xyz/openbmc_project/sensors/fan_tach/fan2_0", -- cgit v1.2.3 From 7dd9ff465dc582a5d03b2ea62eee147faae39ffc Mon Sep 17 00:00:00 2001 From: "Lakshminarayana R. Kammath" Date: Tue, 7 Dec 2021 04:38:14 -0600 Subject: meta-ibm: Add partition SAI and platform SAI as fault indicator objects phosphor-led-manager already has platform and partition system attention indicator D-Bus objects implementing xyz.openbmc_project.Led.Group. but, was not added to association json which this commit is doing. Signed-off-by: Lakshminarayana R. Kammath Change-Id: I3803cbb2d07626e3af6474ea8e74d987f4a963b0 --- .../p10bmc/ibm,everest_associations.json | 18 ++++++++++++++++++ .../p10bmc/ibm,rainier-2u_associations.json | 18 ++++++++++++++++++ .../p10bmc/ibm,rainier-4u_associations.json | 18 ++++++++++++++++++ 3 files changed, 54 insertions(+) (limited to 'meta-ibm/recipes-phosphor/inventory/phosphor-inventory-manager/p10bmc/ibm,everest_associations.json') 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 a1a87e534..8693e7d1d 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 @@ -278,6 +278,24 @@ } ] }, + { + "path": "system", + "endpoints": + [ + { + "types": + { + "rType": "fault_inventory_object", + "fType": "fault_led_group" + }, + "paths": + [ + "/xyz/openbmc_project/led/groups/partition_system_attention_indicator", + "/xyz/openbmc_project/led/groups/platform_system_attention_indicator" + ] + } + ] + }, { "path": "system/chassis/motherboard/powersupply0", "endpoints": 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 73dda9edf..2ea36bc67 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 @@ -321,6 +321,24 @@ } ] }, + { + "path": "system", + "endpoints": + [ + { + "types": + { + "rType": "fault_inventory_object", + "fType": "fault_led_group" + }, + "paths": + [ + "/xyz/openbmc_project/led/groups/partition_system_attention_indicator", + "/xyz/openbmc_project/led/groups/platform_system_attention_indicator" + ] + } + ] + }, { "path": "system/chassis/motherboard/powersupply0", "endpoints": 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 2e1682de1..6d9bc42f1 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 @@ -309,6 +309,24 @@ } ] }, + { + "path": "system", + "endpoints": + [ + { + "types": + { + "rType": "fault_inventory_object", + "fType": "fault_led_group" + }, + "paths": + [ + "/xyz/openbmc_project/led/groups/partition_system_attention_indicator", + "/xyz/openbmc_project/led/groups/platform_system_attention_indicator" + ] + } + ] + }, { "path": "system/chassis/motherboard/powersupply0", "endpoints": -- cgit v1.2.3