summaryrefslogtreecommitdiffstats
path: root/pystatemgr
diff options
context:
space:
mode:
authorJayanth Othayoth <ojayanth@in.ibm.com>2017-03-27 08:31:22 -0500
committerJayanth Othayoth <ojayanth@in.ibm.com>2017-03-29 21:42:03 -0500
commite688d94b8a21796be2e839fc6b19336b9f192e05 (patch)
tree1784053c628d801950bc0d3ecd44383f9fb2f741 /pystatemgr
parent3a3ac92f78786562e6b13d6919c64c0ff132bc99 (diff)
downloadtalos-skeleton-e688d94b8a21796be2e839fc6b19336b9f192e05.tar.gz
talos-skeleton-e688d94b8a21796be2e839fc6b19336b9f192e05.zip
Add IPMI Sensor support for Power Supply Derating.
Change-Id: I099198a74fc84024eb24e84985df67f0738a0627 Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
Diffstat (limited to 'pystatemgr')
-rw-r--r--pystatemgr/discover_system_state.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/pystatemgr/discover_system_state.py b/pystatemgr/discover_system_state.py
index b05af60..03eb84f 100644
--- a/pystatemgr/discover_system_state.py
+++ b/pystatemgr/discover_system_state.py
@@ -48,6 +48,11 @@ dbus_objects = {
'object_name': '/org/openbmc/sensors/host/TurboAllowed',
'interface_name': 'org.openbmc.SensorValue'
},
+ 'powersupplyderating': {
+ 'bus_name': 'org.openbmc.Sensors',
+ 'object_name': '/org/openbmc/sensors/host/PowerSupplyDerating',
+ 'interface_name': 'org.openbmc.SensorValue'
+ },
}
OpenPOWER on IntegriCloud