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
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 f9d91b3..de0f1cc 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 e1fd054..d5c0160 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 84cb0ba..a4be355 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"
},