summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Liu <liuxiwei@ieisystem.com>2024-01-30 09:07:11 +0300
committerAdriana Kobylak <anoo@us.ibm.com>2024-02-12 22:23:23 +0300
commit9a8650a4818d3305b1e0ee87cc80b8bbc2895b05 (patch)
tree706e9269e8a4dbd24d660066c0b62403fd39d997
parentba197942f6bd4c2c8afd579c1caae43000d6a389 (diff)
downloadopenbmc-9a8650a4818d3305b1e0ee87cc80b8bbc2895b05.tar.xz
meta-ibm: p10bmc: Add throttle association
Add the association configuration of throttle according to the latest association interface[1]. [1] https://github.com/openbmc/phosphor-dbus-interfaces/commit/1abc0c57692b679753955b7273c1393369ef4987 Signed-off-by: George Liu <liuxiwei@ieisystem.com> Change-Id: I29b4d99a0dce0517f28ec4d63765d2b909a12122
-rw-r--r--meta-ibm/recipes-phosphor/inventory/phosphor-inventory-manager/p10bmc/ibm,everest_associations.json11
-rw-r--r--meta-ibm/recipes-phosphor/inventory/phosphor-inventory-manager/p10bmc/ibm,rainier-2u_associations.json11
-rw-r--r--meta-ibm/recipes-phosphor/inventory/phosphor-inventory-manager/p10bmc/ibm,rainier-4u_associations.json11
3 files changed, 33 insertions, 0 deletions
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 f9d91b3ea0..de0f1ccf93 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
@@ -243,6 +243,17 @@
{
"types":
{
+ "rType": "throttling",
+ "fType": "throttled_by"
+ },
+ "paths":
+ [
+ "/xyz/openbmc_project/control/host0/power_cap"
+ ]
+ },
+ {
+ "types":
+ {
"rType": "chassis",
"fType": "all_sensors"
},
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 e1fd054d07..d5c016002d 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
@@ -346,6 +346,17 @@
{
"types":
{
+ "rType": "throttling",
+ "fType": "throttled_by"
+ },
+ "paths":
+ [
+ "/xyz/openbmc_project/control/host0/power_cap"
+ ]
+ },
+ {
+ "types":
+ {
"rType": "chassis",
"fType": "all_sensors"
},
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 84cb0ba30b..a4be3554d0 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
@@ -340,6 +340,17 @@
{
"types":
{
+ "rType": "throttling",
+ "fType": "throttled_by"
+ },
+ "paths":
+ [
+ "/xyz/openbmc_project/control/host0/power_cap"
+ ]
+ },
+ {
+ "types":
+ {
"rType": "chassis",
"fType": "all_sensors"
},